diff options
author | mrbean-bremen <hansemrbean@googlemail.com> | 2021-10-30 12:45:33 +0200 |
---|---|---|
committer | mrbean-bremen <hansemrbean@googlemail.com> | 2021-10-30 12:50:31 +0200 |
commit | 81ac8d7077f27eb03e1010586f405c24485f9a97 (patch) | |
tree | 030f82ad0ca66b3e0c04b928121080a9b177e180 | |
parent | 5f8f0e85c0e873dfa91088c953e68f9e26808bfa (diff) | |
download | pyfakefs-81ac8d7077f27eb03e1010586f405c24485f9a97.tar.gz |
Use released Python 3.10 in CI test
- do not exclude tests with Python 3.10
-rw-r--r-- | .github/workflows/pythonpackage.yml | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 7ffd920..1f8cfd1 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -48,7 +48,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macOS-latest, windows-2016] - python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0-beta.1] + python-version: [3.6, 3.7, 3.8, 3.9, "3.10"] include: - python-version: pypy3 os: ubuntu-latest @@ -98,28 +98,20 @@ jobs: shell: bash - name: Install extra dependencies run: | - # some extra dependencies are not avaialble in 3.10 Beta yet - # so we exclude it from all tests on extra dependencies - if [[ '${{ matrix.python-version }}' != '3.10.0-beta.1' ]]; then - pip install -r extra_requirements.txt - fi + pip install -r extra_requirements.txt shell: bash - name: Run unit tests with extra packages as non-root user run: | - if [[ '${{ matrix.python-version }}' != '3.10.0-beta.1' ]]; then - python -m pyfakefs.tests.all_tests - fi + python -m pyfakefs.tests.all_tests shell: bash - name: Run pytest tests run: | - if [[ '${{ matrix.python-version }}' != '3.10.0-beta.1' ]]; then - export PY_VERSION=${{ matrix.python-version }} - $GITHUB_WORKSPACE/.github/workflows/run_pytest.sh - fi + export PY_VERSION=${{ matrix.python-version }} + $GITHUB_WORKSPACE/.github/workflows/run_pytest.sh shell: bash - name: Run performance tests run: | - if [[ '${{ matrix.os }}' != 'macOS-latest' && '${{ matrix.python-version }}' != '3.10.0-beta.1' ]]; then + if [[ '${{ matrix.os }}' != 'macOS-latest' ]]; then export TEST_PERFORMANCE=1 python -m pyfakefs.tests.performance_test fi |