Skip to content

Commit

Permalink
Use pdm install to install dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <[email protected]>
  • Loading branch information
lebrice committed May 31, 2024
1 parent 93b881e commit 3df8650
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,9 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install pre-commit
- run: pre-commit --version
- run: pre-commit install
- run: pre-commit run --all-files
- run: pip install pdm
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
run: pdm install
- name: Test with pytest (very fast)
run: pytest -v --shorter-than=1.0 --cov=project --cov-report=xml --cov-append
- name: Test with pytest (fast)
Expand All @@ -75,14 +70,9 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install pre-commit
- run: pre-commit --version
- run: pre-commit install
- run: pre-commit run --all-files
- run: pip install pdm
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
run: pdm install

- name: Test with pytest
run: pytest -v --cov=project --cov-report=xml --cov-append
Expand Down

0 comments on commit 3df8650

Please sign in to comment.