Skip to content

Commit df93819

Browse files
committed
cross-platform tests added
1 parent 05e9340 commit df93819

1 file changed

Lines changed: 41 additions & 6 deletions

File tree

.github/workflows/tests.yml

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@ on:
77
pull_request:
88

99
jobs:
10-
test:
11-
name: unit-tests (${{ matrix.os }})
10+
wrapper-cross-platform:
11+
name: wrapper-unit (${{ matrix.os }})
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
fail-fast: false
1515
matrix:
1616
os:
1717
- ubuntu-latest
18-
# - macos-latest
18+
- macos-latest
19+
- windows-latest
1920
steps:
2021
- name: Checkout
2122
uses: actions/checkout@v4
@@ -25,12 +26,37 @@ jobs:
2526
with:
2627
python-version: "3.11"
2728

28-
- name: Run unit tests
29+
- name: Run wrapper unit tests (no real external tools)
30+
run: python -m unittest -v test.test_vcf_rdfizer_unit
31+
32+
shell-posix:
33+
name: shell+pipeline-unit (${{ matrix.os }})
34+
runs-on: ${{ matrix.os }}
35+
strategy:
36+
fail-fast: false
37+
matrix:
38+
os:
39+
- ubuntu-latest
40+
- ubuntu-22.04
41+
- macos-latest
42+
steps:
43+
- name: Checkout
44+
uses: actions/checkout@v4
45+
46+
- name: Setup Python
47+
uses: actions/setup-python@v5
48+
with:
49+
python-version: "3.11"
50+
51+
- name: Run full unit test suite
2952
run: python -m unittest discover -s test -p "test_*_unit.py" -v
3053

3154
coverage:
3255
name: coverage-upload
3356
runs-on: ubuntu-latest
57+
needs:
58+
- wrapper-cross-platform
59+
- shell-posix
3460
steps:
3561
- name: Checkout
3662
uses: actions/checkout@v4
@@ -55,8 +81,17 @@ jobs:
5581
fail_ci_if_error: false
5682

5783
package-smoke:
58-
name: package-smoke
59-
runs-on: ubuntu-latest
84+
name: package-smoke (${{ matrix.os }})
85+
runs-on: ${{ matrix.os }}
86+
strategy:
87+
fail-fast: false
88+
matrix:
89+
os:
90+
- ubuntu-latest
91+
- macos-latest
92+
- windows-latest
93+
needs:
94+
- wrapper-cross-platform
6095
steps:
6196
- name: Checkout
6297
uses: actions/checkout@v4

0 commit comments

Comments
 (0)