Skip to content
This repository was archived by the owner on Jun 25, 2022. It is now read-only.

Commit af4670f

Browse files
authored
Migrate Azure tests to Github actions (#260)
1 parent e9532f5 commit af4670f

File tree

8 files changed

+39
-97
lines changed

8 files changed

+39
-97
lines changed

.github/CODEOWNERS

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Default owner
2+
* @gobuffalo/core-managers

.github/FUNDING.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
3+
github: markbates
4+
patreon: buffalo

.github/workflows/tests.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Tests
2+
on: [push, pull_request]
3+
jobs:
4+
5+
tests:
6+
name: ${{matrix.go-version}} ${{matrix.os}}
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
go-version: [1.12.x, 1.13.x]
11+
os: [macos-latest, windows-latest, ubuntu-latest]
12+
steps:
13+
- name: Checkout Code
14+
uses: actions/checkout@v1
15+
with:
16+
fetch-depth: 1
17+
- name: Test v1
18+
run: |
19+
go get -t -v ./...
20+
go test -race ./...
21+
go install -v ./packr
22+
- name: Test v2
23+
run: |
24+
cd v2
25+
go get -t -v ./...
26+
go test -race ./...
27+
go install -v ./packr2

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ gin-bin
3333
debug.test
3434
.grifter/
3535
*-packr.go
36+
.idea/
3637

azure-pipelines.yml

-71
This file was deleted.

azure-tests.yml

-24
This file was deleted.

v2/jam/store/_fixtures/disk-pack/go.mod

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module foo
22

3+
go 1.14
4+
35
require (
46
github.com/gobuffalo/packr/v2 v2.0.0-rc.2 // indirect
57
golang.org/x/tools v0.0.0-20181116193547-e77c06808af6 // indirect

v2/jam/store/_fixtures/disk-pack/go.sum

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw=
2+
errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
13
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
24
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
35
github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
@@ -191,8 +193,7 @@ github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+W
191193
github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA=
192194
github.com/onsi/gomega v1.4.2/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
193195
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
194-
errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw=
195-
errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
196+
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
196197
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
197198
github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
198199
github.com/serenize/snaker v0.0.0-20171204205717-a683aaf2d516/go.mod h1:Yow6lPLSAXx2ifx470yD/nUe22Dv5vBvxK/UK9UUTVs=

0 commit comments

Comments
 (0)