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
|
||||
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
|
||||
run: |
|
||||
git config --global user.name 'GitHub Actions'
|
||||
@ -49,14 +61,4 @@ jobs:
|
||||
git add -A
|
||||
git commit -m "Update documentation"
|
||||
cd ..
|
||||
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
|
||||
git push --force --quiet --set-upstream origin main
|
Loading…
Reference in New Issue
Block a user