Skip to content

Commit

Permalink
Disable old python version for pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
oshadura committed Nov 22, 2023
1 parent d05a432 commit f2095c9
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/pypi-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest] #
python-version: ["3.7", "3.8", "3.9"]
exclude:
- os: "windows-latest"
python-version: "3.7"
os: [ubuntu-latest] #
python-version: ["3.8", "3.9", "3.10"]
name: test coffea_casa (${{ matrix.os }}) - python ${{ matrix.python-version }}

steps:
Expand All @@ -60,18 +57,12 @@ jobs:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
miniconda-version: 'latest'
- name: Install dependencies (Linux/MacOS)
- name: Install dependencies
if: matrix.os != 'windows-latest'
run: |
python -m pip install -q --upgrade pip setuptools setuptools_scm wheel six pytest codecov dask distributed
python -m pip install -q -e .
python -m pip list
- name: Install dependencies (Windows)
if: matrix.os == 'windows-latest'
run: |
python -m pip install -q --upgrade pip setuptools setuptools_scm wheel six pytest codecov dask distributed
python -m pip install -q -e .
python -m pip list
- name: Test with pytest
run: |
coverage run -m pytest

0 comments on commit f2095c9

Please sign in to comment.