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 1676ba3 commit 6a95333Copy full SHA for 6a95333
.github/workflows/test.yml
@@ -0,0 +1,35 @@
1
+name: Test Workflow
2
+
3
+on:
4
+ workflow_call:
5
+ inputs:
6
+ os:
7
+ required: true
8
+ type: string
9
+ pyVersion:
10
11
12
13
+jobs:
14
+ test:
15
+ strategy:
16
+ fail-fast: false
17
+ runs-on: ${{ inputs.os }}
18
+ steps:
19
+ - name: Checkout
20
+ uses: actions/checkout@v2
21
22
+ - name: Unshallow
23
+ run: git fetch --prune --unshallow
24
25
+ - uses: actions/setup-python@v4
26
+ with:
27
+ python-version: ${{ inputs.pyVersion }}
28
29
+ - name: Run tests
30
+ run: make dev install test
31
32
+ - name: Publish test coverage
33
+ uses: codecov/codecov-action@v4
34
+ env:
35
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
0 commit comments