fixing actions
This commit is contained in:
parent
3b7bffd037
commit
b9f46ec99c
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@ -9,6 +9,8 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: run Inkycal tests
|
name: run Inkycal tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -21,6 +23,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone --single-branch https://github.com/aceinnolab/Inkycal
|
git clone --single-branch https://github.com/aceinnolab/Inkycal
|
||||||
- name: Creating virtual environment generate docs and install dependencies
|
- name: Creating virtual environment generate docs and install dependencies
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
cd Inkycal
|
cd Inkycal
|
||||||
echo "$PWD"
|
echo "$PWD"
|
||||||
@ -32,6 +35,12 @@ jobs:
|
|||||||
cd docsource && make html
|
cd docsource && make html
|
||||||
make github
|
make github
|
||||||
cd ..
|
cd ..
|
||||||
|
- name: Commit and Push Changes
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
with:
|
||||||
|
branch: main
|
||||||
|
commit_message: auto-generated docs
|
||||||
|
commit_options: '--no-verify'
|
||||||
- name: Setup test environment and run tests
|
- name: Setup test environment and run tests
|
||||||
env:
|
env:
|
||||||
OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }}
|
OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }}
|
||||||
@ -39,7 +48,6 @@ jobs:
|
|||||||
TEST_ICAL_URL: ${{ secrets.TEST_ICAL_URL }}
|
TEST_ICAL_URL: ${{ secrets.TEST_ICAL_URL }}
|
||||||
TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }}
|
TODOIST_API_KEY: ${{ secrets.TODOIST_API_KEY }}
|
||||||
run: |
|
run: |
|
||||||
echo "$PWD"
|
|
||||||
cd inkycal/tests
|
cd inkycal/tests
|
||||||
wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json
|
wget https://raw.githubusercontent.com/aceinnolab/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