|
30 | 30 |
|
31 | 31 | - uses: dtolnay/rust-toolchain@stable |
32 | 32 | - uses: taiki-e/install-action@cargo-llvm-cov |
33 | | - - uses: actions/setup-python@v6.2.0 |
| 33 | + |
| 34 | + - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 |
34 | 35 | with: |
35 | 36 | python-version: ${{ env.PYTHON_VERSION }} |
| 37 | + |
36 | 38 | - run: sudo apt-get update && sudo apt-get -y install lcov |
37 | 39 | - name: Run cargo-llvm-cov with Rust tests. |
38 | 40 | run: cargo llvm-cov --no-report --workspace --exclude rustpython_wasm --exclude rustpython-compiler-source --exclude rustpython-venvlauncher --verbose --no-default-features --features stdlib,importlib,encodings,ssl-rustls,jit |
|
48 | 50 | if: ${{ github.event_name != 'pull_request' }} |
49 | 51 | uses: codecov/codecov-action@v5 |
50 | 52 | with: |
51 | | - file: ./codecov.lcov |
| 53 | + files: | |
| 54 | + ./codecov.lcov |
52 | 55 |
|
53 | 56 | testdata: |
54 | 57 | name: Collect regression test data |
|
96 | 99 | persist-credentials: true |
97 | 100 |
|
98 | 101 | - uses: dtolnay/rust-toolchain@stable |
99 | | - - uses: actions/setup-python@v6.2.0 |
| 102 | + |
| 103 | + - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 |
100 | 104 | with: |
101 | 105 | python-version: ${{ env.PYTHON_VERSION }} |
| 106 | + |
102 | 107 | - name: build rustpython |
103 | 108 | run: cargo build --release --verbose |
104 | 109 | - name: Collect what is left data |
@@ -157,9 +162,11 @@ jobs: |
157 | 162 | persist-credentials: true |
158 | 163 |
|
159 | 164 | - uses: dtolnay/rust-toolchain@stable |
160 | | - - uses: actions/setup-python@v6.2.0 |
| 165 | + |
| 166 | + - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 |
161 | 167 | with: |
162 | 168 | python-version: ${{ env.PYTHON_VERSION }} |
| 169 | + |
163 | 170 | - run: cargo install cargo-criterion |
164 | 171 | - name: build benchmarks |
165 | 172 | run: cargo build --release --benches |
|
0 commit comments