Skip to content

Commit 3582567

Browse files
committed
skip platform independent tests for macOS
1 parent ce2fc34 commit 3582567

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,12 @@ jobs:
7979
run: target/release/rustpython -m test -v
8080
env:
8181
RUSTPYTHONPATH: ${{ github.workspace }}/Lib
82-
if: runner.os != 'Windows'
82+
if: runner.os == 'Linux'
83+
- name: run cpython tests (macOS lightweight)
84+
run: target/release/rustpython -m test -x test_argparse -x test_json -x test_bytes -x test_long -v
85+
env:
86+
RUSTPYTHONPATH: ${{ github.workspace }}/Lib
87+
if: runner.os == 'macOS'
8388

8489
format:
8590
name: Check Rust code with rustfmt and clippy
@@ -131,6 +136,7 @@ jobs:
131136
key: ${{ runner.os }}-wasm-${{ hashFiles('**/Cargo.lock') }}
132137
restore-keys: |
133138
${{ runner.os }}-debug-${{ hashFiles('Cargo.lock') }}
139+
${{ runner.os }}-debug-
134140
- name: install wasm-pack
135141
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
136142
- name: install geckodriver

0 commit comments

Comments
 (0)