From c47ae890e84a4ab9f7882a94548da76c1288a13f Mon Sep 17 00:00:00 2001 From: Ace Date: Fri, 20 Jan 2023 00:33:59 +0100 Subject: [PATCH] group jobs where needed --- .github/workflows/tests.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 335c3af..840a378 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,8 +14,8 @@ jobs: with: python-version: 3.9 - clone-repo: - name: clone repo + test: + name: Inkycal testing needs: build runs-on: ubuntu-latest @@ -24,12 +24,6 @@ jobs: run: | git clone --single-branch https://github.com/aceisace/Inkycal - install: - name: install dependencies - needs: clone-repo - runs-on: ubuntu-latest - - steps: - name: Creating virtual evvironment run: | cd Inkycal @@ -43,13 +37,7 @@ jobs: pip install wheel pip install -e ./ - test: - name: run tests - needs: install - runs-on: ubuntu-latest - - steps: - - name: Setup test environment and run tests + - name: Run tests env: OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }} SAMPLE_ICAL_URL: ${{ secrets.SAMPLE_ICAL_URL }}