Skip to content

Commit

Permalink
Merge pull request #36 from gobuffalo/task-v3-mods
Browse files Browse the repository at this point in the history
Task v3 + pop v5 + mods + github actions
  • Loading branch information
paganotoni authored Mar 23, 2020
2 parents 0cc362a + a5977d6 commit 6b92115
Show file tree
Hide file tree
Showing 19 changed files with 1,493 additions and 314 deletions.
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
Expand Up @@ -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.

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

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

Expand Down Expand Up @@ -131,7 +134,7 @@ import (
"testing"

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

type ActionSuite struct {
Expand Down
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
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion fix/fix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions fix/plush.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

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

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

Expand Down
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

0 comments on commit 6b92115

Please sign in to comment.