Skip to content

Commit

Permalink
test against packages based on date
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddalpiaz committed Aug 23, 2024
1 parent 861b8ec commit ded0d69
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
package-date:
- "2022-01-01"
- "2024-01-01"
- "3000-01-01"
steps:
- uses: actions/checkout@v4
- name: Set up uv
Expand All @@ -26,6 +30,6 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install the project
run: uv sync --all-extras --dev
run: uv sync --all-extras --dev --exclude-newer {{ matrix.package-date }}
- name: Test package
run: uv run pytest

0 comments on commit ded0d69

Please sign in to comment.