File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ tests :
11+ name : Tests on ${{ matrix.os }}
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ matrix :
15+ os : [ubuntu-latest, macos-latest, windows-latest]
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Install make on Windows
19+ if : runner.os == 'Windows'
20+ run : choco install make -y
21+ - uses : actions/setup-python@v5
22+ with :
23+ python-version : ' 3.x'
24+ - name : Run tests
25+ shell : bash
26+ run : make test
27+
28+ nix-tests :
29+ name : NixOS tests
30+ runs-on : ubuntu-latest
31+ container :
32+ image : nixos/nix:latest
33+ steps :
34+ - uses : actions/checkout@v4
35+ - name : Run tests in Nix shell
36+ run : nix develop --command python -m unittest discover -v
You can’t perform that action at this time.
0 commit comments