Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task v3 + pop v5 + mods + github actions #36

Merged
merged 9 commits into from
Mar 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Tests
on: [push, pull_request]
jobs:

tests-on:
name: ${{matrix.go-version}} ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.13.x, 1.14.x]
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: Checkout Code
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Test
run: |
go mod tidy -v
go test -race ./...
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -27,4 +27,3 @@ generated/
bin/*
gin-bin
.idea/
go.*
18 changes: 18 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
fast: true
linters:
enable-all: false
disable-all: false
enable:
- govet
- golint
- goimports
- deadcode
- typecheck
- ineffassign
- misspell
- nakedret
- unconvert
- megacheck
- varcheck
disable:
- errcheck
3 changes: 0 additions & 3 deletions .gometalinter.json

This file was deleted.

9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# suite

![](https://github.com/gobuffalo/suite/workflows/Tests/badge.svg)

# Suite

Suite is a package meant to make testing [gobuffalo.io](http://gobuffalo.io) applications easier.

@@ -16,7 +19,7 @@ package actions_test
import (
"testing"

"github.com/gobuffalo/suite"
"github.com/gobuffalo/suite/v3"
"github.com/gobuffalo/toodo/actions"
)

@@ -131,7 +134,7 @@ import (
"testing"

"github.com/gobuffalo/packr/v2"
"github.com/gobuffalo/suite"
"github.com/gobuffalo/suite/v3"
)

type ActionSuite struct {
53 changes: 0 additions & 53 deletions azure-pipelines.yml

This file was deleted.

19 changes: 0 additions & 19 deletions azure-tests.yml

This file was deleted.

11 changes: 11 additions & 0 deletions box.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package suite

import (
"github.com/gobuffalo/packd"
)

// Box is Finder + Walkable
type Box interface {
packd.Finder
packd.Walkable
}
2 changes: 1 addition & 1 deletion fix/fix.go
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import (
"path/filepath"
"sync"

"github.com/gobuffalo/plush"
"github.com/gobuffalo/plush/v4"

"github.com/BurntSushi/toml"
"github.com/gobuffalo/packd"
2 changes: 1 addition & 1 deletion fix/fix_test.go
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ import (
"testing"

"github.com/gobuffalo/packr/v2"
"github.com/gobuffalo/plush"
"github.com/gobuffalo/plush/v4"
"github.com/stretchr/testify/require"
)

4 changes: 2 additions & 2 deletions fix/plush.go
Original file line number Diff line number Diff line change
@@ -5,8 +5,8 @@ import (
"time"

"github.com/gobuffalo/packd"
"github.com/gobuffalo/plush"
"github.com/gofrs/uuid"
"github.com/gobuffalo/plush/v4"
"github.com/gofrs/uuid/v3"
"golang.org/x/crypto/bcrypt"
)

2 changes: 1 addition & 1 deletion fix/plush_test.go
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ import (
"testing"
"time"

"github.com/gobuffalo/plush"
"github.com/gobuffalo/plush/v4"
"github.com/stretchr/testify/require"
)

19 changes: 19 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module github.com/gobuffalo/suite/v3

go 1.13

require (
github.com/BurntSushi/toml v0.3.1
github.com/gobuffalo/buffalo v0.15.5
github.com/gobuffalo/envy v1.9.0
github.com/gobuffalo/httptest v1.5.0
github.com/gobuffalo/mw-csrf v1.0.0
github.com/gobuffalo/packd v1.0.0
github.com/gobuffalo/packr/v2 v2.8.0
github.com/gobuffalo/plush/v4 v4.0.0
github.com/gobuffalo/pop/v5 v5.0.9
github.com/gofrs/uuid/v3 v3.1.2
github.com/gorilla/sessions v1.2.0
github.com/stretchr/testify v1.5.1
golang.org/x/crypto v0.0.0-20200320181102-891825fb96df
)
Loading