Skip to content

Commit 6a95333

Browse files
committed
added test workflow back
1 parent 1676ba3 commit 6a95333

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/test.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
required: true
11+
type: string
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

Comments
 (0)