Skip to content

Commit

Permalink
build update packages using pru
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirroni committed Jun 25, 2024
1 parent 69fa7eb commit 346a3ae
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:
cache-dependency-path: 'requirements.txt'

- name: Upgrade pip and install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
run: python -m pip install --upgrade pip

- name: Install package
run: pip install -e ."[dev]"
run: |
pip install -e ."[dev]"
pru
- name: Test package
id: pytest
Expand All @@ -64,6 +64,7 @@ jobs:
continue-on-error: true

- name: Run pru if tests fail
id: run_pru
if: steps.pytest.outcome != 'success' && steps.pytest2.outcome != 'success'
run: |
python_version_minor=$(python -c "import sys; print(f'{sys.version_info.minor}')")
Expand Down

0 comments on commit 346a3ae

Please sign in to comment.