Skip to content

Commit

Permalink
[workflow] Cache deps, drop python 3.9 testing
Browse files Browse the repository at this point in the history
- Dependency caching wasn't working because the dependency path wasn't
right, so fix that.
- Python 3.9 doesn't work for Windows or Mac, and few
users will be on linux using 3.9 so drop it to save time.
  • Loading branch information
chrisbrickhouse committed Apr 11, 2024
1 parent 985c7f3 commit 4a40b4a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,8 @@ jobs:
lint-and-test:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- os: macos-latest
python-version: "3.9"
- os: windows-latest
python-version: "3.9"
fail-fast: false

runs-on: ${{ matrix.os }}
Expand All @@ -36,9 +31,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: requirements*.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt
- name: Lint with flake8
run: |
Expand Down

0 comments on commit 4a40b4a

Please sign in to comment.