• Home
  • Raw
  • Download

Lines Matching +full:python +full:- +full:version

12     runs-on: ubuntu-latest
14 - name: Check out repository
16 - name: Set up Python
17 uses: actions/setup-python@v5
19 python-version: "3.10"
20 - name: install pytype
22 - name: Run pytype
24 pytype pyfakefs --keep-going --exclude pyfakefs/tests/* --exclude pyfakefs/pytest_tests/*
27 runs-on: ${{ matrix.os }}
32 fail-fast: false
34 os: [ubuntu-latest, macOS-latest, windows-latest]
35 python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13", "3.14"]
37 - python-version: "pypy-3.7"
38 os: ubuntu-22.04
39 - python-version: "pypy-3.9"
40 os: ubuntu-latest
41 - python-version: "pypy-3.10"
42 os: ubuntu-latest
43 - python-version: "3.7"
44 os: ubuntu-22.04
45 - python-version: "3.7"
46 os: windows-latest
49 - uses: actions/checkout@v4
50 - name: Set up Python ${{ matrix.python-version }}
51 uses: actions/setup-python@v5
53 python-version: ${{ matrix.python-version }}
54 allow-prereleases: true
56 - name: Get pip cache dir
57 id: pip-cache
60 python -m pip install --upgrade pip
63 - name: Cache dependencies
64 id: cache-dep
67 path: ${{ steps.pip-cache.outputs.dir }}
68 …${{ matrix.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ hash…
69 restore-keys: |
70 ${{ matrix.os }}-${{ matrix.python-version }}-pip-
72 - name: Install dependencies
75 pip install -r requirements.txt
76 - name: Run unit tests without extra packages as non-root user
79 python -bb -m pyfakefs.tests.all_tests_without_extra_packages
81 - name: Run unit tests without extra packages as root
83 if [[ '${{ matrix.os }}' != 'windows-latest' ]]; then
84 # provide the same path as non-root to get the correct virtualenv
85 sudo env "PATH=$PATH" python -m pyfakefs.tests.all_tests_without_extra_packages
88 - name: Install extra dependencies
89 if: ${{ matrix.python-version != '3.14' }}
91 pip install -r extra_requirements.txt
92 pip install -r legacy_requirements.txt
95 - name: Run unit tests with extra packages as non-root user
96 if: ${{ matrix.python-version != '3.14' }}
99 python -m pyfakefs.tests.all_tests
101 - name: Run performance tests
103 if [[ '${{ matrix.os }}' != 'macOS-latest' ]]; then
105 python -m pyfakefs.tests.performance_test
109 pytest-test:
110 runs-on: ${{ matrix.os }}
114 fail-fast: false
116 os: [ubuntu-latest, macOS-latest, windows-latest]
117 python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13"]
118 pytest-version: [6.2.5, 7.0.1, 7.4.4, 8.0.2, 8.3.4]
120 - uses: actions/checkout@v4
121 - name: Set up Python ${{ matrix.python-version }}
122 uses: actions/setup-python@v5
124 python-version: ${{ matrix.python-version }}
125 - name: Install dependencies
127 python -m pip install --upgrade pip
128 python -m pip install -r requirements.txt
129 python -m pip install -U pytest==${{ matrix.pytest-version }}
130 python -m pip install pandas parquet pyarrow
131 python -m pip install -e .
133 - name: Run pytest tests
135 …echo "$(python -m pytest pyfakefs/pytest_tests/pytest_plugin_failing_helper.py)" > ./testresult.txt
138 pytest --log-cli-level=INFO test
141 dependency-check:
142 runs-on: ${{ matrix.os }}
145 os: [ubuntu-latest, windows-latest]
146 python-version: ["3.10"]
148 - uses: actions/checkout@v4
149 - name: Set up Python ${{ matrix.python-version }}
150 uses: actions/setup-python@v5
152 python-version: ${{ matrix.python-version }}
153 - name: Install dependencies
155 pip install -r requirements.txt
156 pip install -r extra_requirements.txt
157 pip install -r legacy_requirements.txt
158 pip install pytest-find-dependencies
159 - name: Check dependencies
160 run: python -m pytest --find-dependencies pyfakefs/tests