Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 6 additions & 18 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,14 @@ on:
jobs:
tests:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
experimental: [false]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12-dev"]
include:
- os: ubuntu-latest
python-version: "pypy-3.7"
experimental: false
- os: ubuntu-latest
python-version: "3.12-dev"
experimental: true
- os: macOS-latest
python-version: "3.12-dev"
experimental: true
- os: windows-latest
python-version: "3.12-dev"
experimental: true
- python-version: "pypy-3.7"
os: ubuntu-latest

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -70,17 +58,17 @@ jobs:
fi
shell: bash
- name: Install extra dependencies
if: ${{ ! matrix.experimental }}
if: ${{ python-version == "3.12-dev" }}
Copy link
Member

@mrbean-bremen mrbean-bremen Dec 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't that be != ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course 🤦🏻

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run: |
pip install -r extra_requirements.txt
shell: bash
- name: Run unit tests with extra packages as non-root user
if: ${{ ! matrix.experimental }}
if: ${{ python-version == "3.12-dev" }}
run: |
python -m pyfakefs.tests.all_tests
shell: bash
- name: Run performance tests
if: ${{ ! matrix.experimental }}
if: ${{ python-version == "3.12-dev" }}
run: |
if [[ '${{ matrix.os }}' != 'macOS-latest' ]]; then
export TEST_PERFORMANCE=1
Expand Down