@@ -15,15 +15,12 @@ jobs:
1515 os : [ubuntu-latest, macos-latest, windows-latest]
1616 steps :
1717 - uses : actions/checkout@v4
18- - name : Install make on Windows
19- if : runner.os == 'Windows'
20- run : choco install make -y
2118 - uses : actions/setup-python@v5
2219 with :
2320 python-version : ' 3.x'
2421 - name : Run tests
2522 shell : bash
26- run : make test
23+ run : python -m unittest discover -v
2724
2825 nix-tests :
2926 runs-on : ubuntu-latest
3532 extra_nix_config : |
3633 experimental-features = nix-command flakes
3734 - name : Run tests via Nix
38- run : nix develop --command make test
35+ run : nix develop --command just test
36+
37+ rust-smoke :
38+ name : Rust module smoke test on ${{ matrix.os }}
39+ runs-on : ${{ matrix.os }}
40+ strategy :
41+ matrix :
42+ os : [ubuntu-latest, macos-latest, windows-latest]
43+ steps :
44+ - uses : actions/checkout@v4
45+ - uses : actions/setup-python@v5
46+ with :
47+ python-version : ' 3.x'
48+ - uses : messense/maturin-action@v1
49+ with :
50+ command : build
51+ args : -m crates/codetracer-python-recorder/Cargo.toml --release
52+ - name : Install built wheel
53+ run : python -m pip install --upgrade pip && python -m pip install target/wheels/*.whl
54+ - name : Import smoke test
55+ run : python -c "import codetracer_python_recorder as m; print(m.hello())"
0 commit comments