fix env issues
This commit is contained in:
parent
4662a1cd65
commit
0050f86999
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Clone repo
|
- name: Clone repo
|
||||||
run: |
|
run: |
|
||||||
git clone --branch feature/venv --single-branch https://github.com/aceisace/Inkycal
|
git clone --single-branch https://github.com/aceisace/Inkycal
|
||||||
|
|
||||||
- name: Creating virtual evvironment
|
- name: Creating virtual evvironment
|
||||||
run: |
|
run: |
|
||||||
@ -31,9 +31,13 @@ jobs:
|
|||||||
pip install wheel
|
pip install wheel
|
||||||
pip install -e ./
|
pip install -e ./
|
||||||
|
|
||||||
- name: Setup test environment and run tests
|
- name: Setup test environment and run tests
|
||||||
|
env:
|
||||||
|
OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }}
|
||||||
|
SAMPLE_ICAL_URL: ${{ secrets.SAMPLE_ICAL_URL }}
|
||||||
|
TEST_ICAL_URL: ${{ secrets.TEST_ICAL_URL }}
|
||||||
|
TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }}
|
||||||
run: |
|
run: |
|
||||||
cd inkycal/tests
|
cd inkycal/tests
|
||||||
echo "${{ secrets.ENV_FILE }}" > .env
|
|
||||||
wget https://raw.githubusercontent.com/aceisace/Inkycal/assets/tests/settings.json
|
wget https://raw.githubusercontent.com/aceisace/Inkycal/assets/tests/settings.json
|
||||||
for f in *.py; do python3 "$f"; done
|
for f in *.py; do python3 "$f"; done
|
||||||
|
Loading…
Reference in New Issue
Block a user