From 86cbcab3b1929c545c6edbaa519eddecf6901bf1 Mon Sep 17 00:00:00 2001 From: Ace Date: Thu, 8 Sep 2022 22:38:45 +0200 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3bd9edf..e27c075 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,20 +25,13 @@ jobs: source venv/bin/activate python -m pip install --upgrade pip - - name: Install dependencies + - name: Install dependencies and run tests + env: + OPENWEATHERMAP_API_KEY: secrets.OPENWEATHERMAP_API_KEY run: | echo "$PWD" pip install wheel pip install -e ./ - # cd inkycal/modules && ls -al - - - name: Run tests - env: - OPENWEATHERMAP_API_KEY: secrets.OPENWEATHERMAP_API_KEY - - run: | - echo "$PWD" - # cd .. cd tests wget https://raw.githubusercontent.com/aceisace/Inkycal/assets/tests/settings.json # sed -i 's/"api_key":.*/"api_key": "${{secrets.OPENWEATHERMAP_API_KEY}}",/' settings.json