@@ -79,33 +79,44 @@ jobs:
79
79
shell : bash
80
80
- name : Install extra dependencies
81
81
run : |
82
- pip install -r extra_requirements.txt
82
+ # some extra dependencies are not avaialble in 3.10 Beta yet
83
+ # so we exclude it from all tests on extra dependencies
84
+ if [[ '${{ matrix.python-version }}' != '3.10.0-beta.1' ]]; then
85
+ pip install -r extra_requirements.txt
86
+ fi
87
+ shell : bash
83
88
- name : Run unit tests with extra packages as non-root user
84
89
run : |
85
- python -m pyfakefs.tests.all_tests
90
+ if [[ '${{ matrix.python-version }}' != '3.10.0-beta.1' ]]; then
91
+ python -m pyfakefs.tests.all_tests
92
+ fi
93
+ shell : bash
86
94
- name : Run pytest tests
87
95
run : |
88
- export PY_VERSION=${{ matrix.python-version }}
89
- $GITHUB_WORKSPACE/.github/workflows/run_pytest.sh
96
+ if [[ '${{ matrix.python-version }}' != '3.10.0-beta.1' ]]; then
97
+ export PY_VERSION=${{ matrix.python-version }}
98
+ $GITHUB_WORKSPACE/.github/workflows/run_pytest.sh
99
+ fi
90
100
shell : bash
91
101
- name : Run performance tests
92
102
run : |
93
- if [[ '${{ matrix.os }}' != 'macOS-latest' ]]; then
103
+ if [[ '${{ matrix.os }}' != 'macOS-latest' && '${{ matrix.python-version }}' != '3.10.0-beta.1' ]]; then
94
104
export TEST_PERFORMANCE=1
95
105
python -m pyfakefs.tests.performance_test
96
106
fi
97
107
shell : bash
98
108
99
- dockertests :
100
- runs-on : ubuntu-latest
101
- strategy :
102
- fail-fast : false
103
- matrix :
104
- docker-image : [centos, debian, fedora, ubuntu]
105
- steps :
106
- - uses : actions/checkout@v2
107
- - name : Setup docker container
108
- run : |
109
- docker build -t pyfakefs -f $GITHUB_WORKSPACE/.github/workflows/dockerfiles/Dockerfile_${{ matrix.docker-image }} . --build-arg github_repo=$GITHUB_REPOSITORY --build-arg github_branch=$(basename $GITHUB_REF)
110
- - name : Run tests
111
- run : docker run -t pyfakefs
109
+ # setting up up docker containers currently fails
110
+ # dockertests:
111
+ # runs-on: ubuntu-latest
112
+ # strategy:
113
+ # fail-fast: false
114
+ # matrix:
115
+ # docker-image: [centos, debian, fedora, ubuntu]
116
+ # steps:
117
+ # - uses: actions/checkout@v2
118
+ # - name: Setup docker container
119
+ # run: |
120
+ # docker build -t pyfakefs -f $GITHUB_WORKSPACE/.github/workflows/dockerfiles/Dockerfile_${{ matrix.docker-image }} . --build-arg github_repo=$GITHUB_REPOSITORY --build-arg github_branch=$(basename $GITHUB_REF)
121
+ # - name: Run tests
122
+ # run: docker run -t pyfakefs
0 commit comments