File tree 1 file changed +1
-6
lines changed
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,19 @@ defaults:
17
17
jobs :
18
18
test :
19
19
strategy :
20
+ fail-fast : false
20
21
matrix :
21
22
go : [stable, tip]
22
23
platform : [ubuntu-latest, windows-latest, macos-latest]
23
24
runs-on : ${{ matrix.platform }}
24
25
steps :
25
26
- name : Checkout code
26
- if : matrix.go != 'tip' || matrix.platform != 'windows-latest'
27
27
uses : actions/checkout@v4
28
28
- name : Install Go
29
- if : matrix.go != 'tip' || matrix.platform != 'windows-latest'
30
29
uses : actions/setup-go@v5
31
30
with :
32
31
go-version : 1.x
33
32
- name : Install Go tip
34
- if : matrix.go == 'tip' && matrix.platform != 'windows-latest'
35
33
env :
36
34
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
35
run : |
@@ -42,15 +40,13 @@ jobs:
42
40
echo "$HOME/go/bin" >> "$GITHUB_PATH"
43
41
echo "$HOME/sdk/gotip/bin" >> "$GITHUB_PATH"
44
42
- name : Build k6
45
- if : matrix.go != 'tip' || matrix.platform != 'windows-latest'
46
43
run : |
47
44
which go
48
45
go version
49
46
50
47
go build .
51
48
./k6 version
52
49
- name : Run E2E tests
53
- if : matrix.go != 'tip' || matrix.platform != 'windows-latest'
54
50
run : |
55
51
set -x
56
52
if [ "$RUNNER_OS" == "Linux" ]; then
65
61
./k6 run -q "$f"
66
62
done
67
63
- name : Check screenshot
68
- if : matrix.go != 'tip' || matrix.platform != 'windows-latest'
69
64
# TODO: Do something more sophisticated?
70
65
run : test -s screenshot.png
You can’t perform that action at this time.
0 commit comments