Skip to content

Commit

Permalink
chore(ci): bump actions, cache pip packages, etc. (#354)
Browse files Browse the repository at this point in the history
* chore(ci): bump actions, cache pip packages, etc.

Test on 3.12
Allow testing on Windows and macOS
Allow easy commenting out of specific versions

* Update ci.yaml: Fix var name, remote 3.6 from matrix

* ci: Bump actions to latest versions

---------

Co-authored-by: Evan Widloski <[email protected]>
  • Loading branch information
rasa and Evidlo committed Jun 2, 2024
1 parent 053d831 commit 5f42802
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,33 @@ on: [push, pull_request, workflow_dispatch]

jobs:
tests:
runs-on: ubuntu-20.04
name: ${{ matrix.os }}-latest / ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
fail-fast: false
matrix:
os:
- ubuntu
# - windows
# - macos
python-version:
# - "3.6" # not supported in ubuntu-latest (22.04)
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
allow-prereleases: true

- name: Install dependencies
run: |
Expand Down

0 comments on commit 5f42802

Please sign in to comment.