From b152d16d03691980e6aac7e9396cb1a164998a50 Mon Sep 17 00:00:00 2001 From: Marius Smytzek Date: Wed, 29 Jan 2025 17:02:37 +0100 Subject: [PATCH] updated workflow to make install and run two steps --- .github/workflows/python-tests.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 8e362c53..3c7f4ccf 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -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: