Skip to content

Commit 81ac8d7

Browse files
committed
Use released Python 3.10 in CI test
- do not exclude tests with Python 3.10
1 parent 5f8f0e8 commit 81ac8d7

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
fail-fast: false
4949
matrix:
5050
os: [ubuntu-latest, macOS-latest, windows-2016]
51-
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0-beta.1]
51+
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
5252
include:
5353
- python-version: pypy3
5454
os: ubuntu-latest
@@ -98,28 +98,20 @@ jobs:
9898
shell: bash
9999
- name: Install extra dependencies
100100
run: |
101-
# some extra dependencies are not avaialble in 3.10 Beta yet
102-
# so we exclude it from all tests on extra dependencies
103-
if [[ '${{ matrix.python-version }}' != '3.10.0-beta.1' ]]; then
104-
pip install -r extra_requirements.txt
105-
fi
101+
pip install -r extra_requirements.txt
106102
shell: bash
107103
- name: Run unit tests with extra packages as non-root user
108104
run: |
109-
if [[ '${{ matrix.python-version }}' != '3.10.0-beta.1' ]]; then
110-
python -m pyfakefs.tests.all_tests
111-
fi
105+
python -m pyfakefs.tests.all_tests
112106
shell: bash
113107
- name: Run pytest tests
114108
run: |
115-
if [[ '${{ matrix.python-version }}' != '3.10.0-beta.1' ]]; then
116-
export PY_VERSION=${{ matrix.python-version }}
117-
$GITHUB_WORKSPACE/.github/workflows/run_pytest.sh
118-
fi
109+
export PY_VERSION=${{ matrix.python-version }}
110+
$GITHUB_WORKSPACE/.github/workflows/run_pytest.sh
119111
shell: bash
120112
- name: Run performance tests
121113
run: |
122-
if [[ '${{ matrix.os }}' != 'macOS-latest' && '${{ matrix.python-version }}' != '3.10.0-beta.1' ]]; then
114+
if [[ '${{ matrix.os }}' != 'macOS-latest' ]]; then
123115
export TEST_PERFORMANCE=1
124116
python -m pyfakefs.tests.performance_test
125117
fi

0 commit comments

Comments
 (0)