From 1e994c0643dfc5d633d21b93b5737affa9f856b4 Mon Sep 17 00:00:00 2001 From: Ace Date: Fri, 20 Jan 2023 00:45:13 +0100 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b8292e6..d0936ee 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,26 +14,21 @@ jobs: with: python-version: 3.9 - test: - name: run Inkycal tests - needs: build - runs-on: ubuntu-latest - - steps: - name: Clone repo run: | git clone --single-branch https://github.com/aceisace/Inkycal - - - name: Creating virtual evvironment and install dependencies + - name: Creating virtual evvironment run: | cd Inkycal python3 -m venv venv source venv/bin/activate python -m pip install --upgrade pip + - name: Install dependencies + run: | + echo "$PWD" pip install wheel pip install -e ./ - - - name: Run tests + - name: Setup test environment and run tests env: OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }} SAMPLE_ICAL_URL: ${{ secrets.SAMPLE_ICAL_URL }}