We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca8c476 commit dc70a81Copy full SHA for dc70a81
.github/workflows/ci.yml
@@ -0,0 +1,34 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - "*"
7
8
+jobs:
9
+ test:
10
+ strategy:
11
+ matrix:
12
+ platform: [ubuntu-latest, macos-latest, windows-latest]
13
+ runs-on: ${{ matrix.platform }}
14
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - uses: actions/setup-go@v3
18
+ with:
19
+ go-version: '1.18'
20
+ check-latest: true
21
+ - run: make test
22
23
+ coverage:
24
+ runs-on: ubuntu-latest
25
26
27
+ - name: Test & publish code coverage
28
+ uses: paambaati/[email protected]
29
+ env:
30
+ CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
31
32
+ coverageCommand: make test-coverage
33
+ coverageLocations: ${{github.workspace}}/c.out:gocov
34
+ prefix: github.com/commander-cli/cmd
0 commit comments