fixing actions
This commit is contained in:
parent
148ca16030
commit
60ce03e654
24
.github/workflows/tests.yml
vendored
24
.github/workflows/tests.yml
vendored
@ -36,6 +36,18 @@ jobs:
|
|||||||
make github
|
make github
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
- 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: |
|
||||||
|
cd inkycal/tests
|
||||||
|
wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json
|
||||||
|
for f in *.py; do python3 "$f"; done
|
||||||
|
cd .. && cd ..
|
||||||
|
|
||||||
- name: Configure Git
|
- name: Configure Git
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name 'GitHub Actions'
|
git config --global user.name 'GitHub Actions'
|
||||||
@ -49,14 +61,4 @@ jobs:
|
|||||||
git add -A
|
git add -A
|
||||||
git commit -m "Update documentation"
|
git commit -m "Update documentation"
|
||||||
cd ..
|
cd ..
|
||||||
git push --force --quiet --set-upstream origin main
|
git push --force --quiet --set-upstream origin main
|
||||||
- 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: |
|
|
||||||
cd inkycal/tests
|
|
||||||
wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json
|
|
||||||
for f in *.py; do python3 "$f"; done
|
|
Loading…
Reference in New Issue
Block a user