Skip to content

Commit 7330d40

Browse files
committed
ci: revert VirusTotal#677.
This reverts commit 3af0442. The changes made the workflow fail.
1 parent 3af0442 commit 7330d40

1 file changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/python.yaml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,32 @@ jobs:
1717
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13", "3.14" ]
1818
os: [ ubuntu-latest, macos-latest, windows-latest ]
1919
runs-on: ${{ matrix.os }}
20-
defaults:
21-
run:
22-
shell: bash --noprofile --norc -eEuo pipefail {0}
2320
steps:
2421
- name: Checkout
2522
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2623
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2724
with:
2825
python-version: ${{ matrix.python-version }}
2926

30-
- name: Test Python
27+
- name: Test Python - Windows
28+
if: runner.os == 'Windows'
29+
run: |
30+
pip install virtualenv
31+
virtualenv venv; venv\Scripts\activate.ps1
32+
pwd
33+
python -m pip install --upgrade pip maturin>=1.7.8
34+
python -m pip install pytest
35+
maturin develop --manifest-path py/Cargo.toml --features=test_proto2-module,test_proto3-module
36+
pytest py
37+
38+
# Non-windows
39+
- name: Test Python - Non-Windows
40+
if: runner.os != 'Windows'
3141
run: |
3242
pip install virtualenv
3343
virtualenv venv; source venv/bin/activate
3444
python -m pip install --upgrade pip maturin>=1.7.8
3545
python -m pip install pytest
3646
maturin develop --manifest-path py/Cargo.toml --features=test_proto2-module,test_proto3-module
3747
pytest py
48+

0 commit comments

Comments
 (0)