2626 - uses : actions/setup-python@v5
2727 with :
2828 python-version : " 3.10"
29- - run : pip install -U ruff==0.6.8 black~=24.8
29+ - run : |
30+ pip install -U --group lint
3031 - uses : dtolnay/rust-toolchain@stable
3132 with :
3233 components : rustfmt, clippy
9697 toolchain : ${{ matrix.rust }}
9798 targets : ${{ matrix.platform.rust-target }}
9899 - name : ' Install dependencies'
99- run : python -m pip install --upgrade nox
100+ run : |
101+ python -m pip install -U --group testinfra
100102 - name : ' Install binary dependencies'
101103 run : sudo apt-get install -y graphviz
102104 if : runner.os == 'Linux'
@@ -120,7 +122,8 @@ jobs:
120122 - name : Install Rust toolchain
121123 uses : dtolnay/rust-toolchain@stable
122124 - name : ' Install dependencies'
123- run : python -m pip install --upgrade nox
125+ run : |
126+ python -m pip install -U --group testinfra
124127 - name : ' Run rustworkx stub tests'
125128 run : nox -estubs
126129 coverage :
@@ -141,10 +144,12 @@ jobs:
141144 - name : Download grcov
142145 run : curl -L https://github.com/mozilla/grcov/releases/download/v0.8.7/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar jxf -
143146 - name : Install deps
144- run : pip install -U setuptools setuptools-rust networkx testtools fixtures stestr
147+ run : |
148+ pip install -U --group test
145149 - name : Build rustworkx
146- run : python setup.py develop
150+ run : pip install .
147151 env :
152+ SETUPTOOLS_RUST_CARGO_PROFILE : " dev"
148153 CARGO_INCREMENTAL : 0
149154 RUSTFLAGS : " -Cinstrument-coverage"
150155 LLVM_PROFILE_FILE : " rustworkx-%p-%m.profraw"
@@ -185,7 +190,8 @@ jobs:
185190 - name : Install binary deps
186191 run : sudo apt-get install -y graphviz
187192 - name : Install deps
188- run : pip install -U nox
193+ run : |
194+ pip install -U --group testinfra
189195 - name : Build Docs
190196 run : nox -e docs
191197 - uses : actions/upload-artifact@v4
0 commit comments