Update tests.yml

This commit is contained in:
Ace
2022-09-08 22:38:45 +02:00
committed by GitHub
parent d8eb4d52f6
commit 86cbcab3b1

View File

@@ -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