Skip to content

Commit

Permalink
updated workflow to make install and run two steps
Browse files Browse the repository at this point in the history
  • Loading branch information
smythi93 committed Jan 29, 2025
1 parent 3697b0b commit b152d16
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,18 @@ jobs:
pip install pygraphviz
# Step 5: Install Python dependencies using make and run tests
- name: Install dependencies with Makefile and run tests
- name: Install dependencies with Makefile
run: |
python -m pip install --upgrade pip # Upgrade pip to the latest version
make install-test # Install dependencies using the Makefile
make tests # Run the tests
# Step 6: Cache installed packages for system dependencies
# Step 6: Run tests using pytest
- name: Run tests with pytest
run: |
make tests # Run the tests
# Step 7: Cache installed packages for system dependencies
- name: Cache pygraphviz dependencies
uses: actions/cache@v3
with:
Expand Down

0 comments on commit b152d16

Please sign in to comment.