File tree Expand file tree Collapse file tree 2 files changed +50
-3
lines changed Expand file tree Collapse file tree 2 files changed +50
-3
lines changed Original file line number Diff line number Diff line change 13
13
build :
14
14
uses : ./.github/workflows/build.yml
15
15
needs : failfast
16
- # tests:
17
- # uses: ./.github/workflows/test.yml
18
- # needs: build
16
+
17
+ tests :
18
+ uses : ./.github/workflows/test.yml
19
+ needs : build
20
+
19
21
# release:
20
22
# uses: ./.github/workflows/release.yml
21
23
# needs: tests
Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on : [workflow_call]
4
+
5
+ env :
6
+ CARGO_TERM_COLOR : always
7
+
8
+ jobs :
9
+ tests :
10
+
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ - uses : actions/download-artifact@v3
16
+ with :
17
+ name : build
18
+ path : target/debug
19
+ - name : Show directory contents
20
+ run : tree -L 3
21
+ - name : Run tests
22
+ run : cargo test --verbose
23
+
24
+
25
+ name : Tests
26
+
27
+ on : [workflow_call]
28
+
29
+ jobs :
30
+ linters :
31
+ name : Tests 🧪
32
+
33
+ runs-on : ubuntu-latest
34
+ container :
35
+ image : mattgomes28/urchin-golang:0.2
36
+ options : --user 1001
37
+
38
+ steps :
39
+ - uses : actions/checkout@v3
40
+
41
+ - name : Running Go Tests 🧪
42
+ run : |
43
+ go test ./... -v -race
44
+
45
+
You can’t perform that action at this time.
0 commit comments