Skip to content

Commit

Permalink
Simplify the test GitHub Actions workflow (#384)
Browse files Browse the repository at this point in the history
Don't need to check the latest dependency versions on the oldest Python.
Just check oldest versions with oldest Python and newest with newest
Python. Otherwise we waste too much compute running tests.
  • Loading branch information
leouieda committed Feb 16, 2024
1 parent 11e452c commit 8d61b83
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ on:
release:
types:
- published
schedule:
# Run every Monday at 12:00 UTC
# * is a special character in YAML so you have to quote this string
- cron: "00 12 * * 1"

# Use bash by default in all jobs
defaults:
Expand All @@ -43,13 +39,17 @@ jobs:
- ubuntu
- macos
- windows
python:
- "3.7"
- "3.11"
dependencies:
- oldest
- latest
- optional
- oldest
include:
- dependencies: oldest
python: "3.7"
- dependencies: latest
python: "3.11"
- dependencies: optional
python: "3.11"
env:
REQUIREMENTS: env/requirements-build.txt env/requirements-test.txt
# Used to tag codecov submissions
Expand Down

0 comments on commit 8d61b83

Please sign in to comment.