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