diff options
author | DWesl <22566757+DWesl@users.noreply.github.com> | 2023-01-27 19:02:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 19:02:38 -0500 |
commit | 3437ec455ee6aa991e40044381b52d94e37a10e5 (patch) | |
tree | c556e97e590a143f7bd4c6fe4cf149333c09164f /.github | |
parent | 4e29fde77679cc209d3480f958b69726f0655891 (diff) | |
download | numpy-3437ec455ee6aa991e40044381b52d94e37a10e5.tar.gz |
CI: Run F2Py tests in parallel on Cygwin
Hopefully this helps, since --forked takes almost five hours.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/cygwin.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index d792d31ea..7ae18ccee 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -56,7 +56,7 @@ jobs: dash -c "which python3.9; /usr/bin/python3.9 --version -V" - name: Build NumPy wheel run: | - dash -c "/usr/bin/python3.9 -m pip install 'setuptools<49.2.0' pytest pytz cffi pickle5 importlib_metadata typing_extensions pytest-forked" + dash -c "/usr/bin/python3.9 -m pip install 'setuptools<49.2.0' pytest pytz cffi pickle5 importlib_metadata typing_extensions pytest-xdist" dash -c "/usr/bin/python3.9 -m pip install -r test_requirements.txt" dash -c "/usr/bin/python3.9 setup.py bdist_wheel" - name: Install new NumPy @@ -78,7 +78,8 @@ jobs: done; - name: Run NumPy F2Py tests shell: "C:\\tools\\cygwin\\bin\\bash.exe -o igncr -eo pipefail {0}" - run: /usr/bin/python3.9 runtests.py -n -s f2py -- --forked; + # I need the separate processes more than I need the parallelization + run: /usr/bin/python3.9 runtests.py -n -s f2py -- --numprocesses=4; - name: Upload wheel if tests fail uses: actions/upload-artifact@v3 if: failure() |