Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pirate authored Nov 12, 2024
1 parent b71040b commit 69d8553
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup PDM
uses: pdm-project/setup-pdm@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
python-version: ${{ matrix.python_version }}
cache: true
cache-dependency-path: '**/pdm.lock'
enable-cache: true
cache-dependency-glob: "uv.lock"

- name: Install dependencies
- name: Install dependencies with uv
run: |
pdm sync --dev --fail-fast
uv sync --all-extras --dev
- name: Run Tests
run: |
pdm run -v python tests.py
uv run python tests.py

0 comments on commit 69d8553

Please sign in to comment.