Skip to content

Commit

Permalink
ci: run only on linux and add pip dependency caching (#17)
Browse files Browse the repository at this point in the history
Remove macos and windows hosts and add python 3.11 to dependency matrix. Additionally, add dependency
caching configuration in the `setup-python` step.
  • Loading branch information
egparedes authored Jun 17, 2024
1 parent 8c2656d commit dca9349
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,23 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.12']
runs-on: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.10', '3.11', '3.12']
runs-on: [ubuntu-latest]

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-python@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: pip
cache-dependency-path: |
pyproject.toml
requirements/*.txt
- name: Install requirementes
run: python -m pip install -r requirements/dev.txt
Expand Down

0 comments on commit dca9349

Please sign in to comment.