Skip to content

Commit

Permalink
fixing actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aceisace committed Jun 3, 2023
1 parent 3b7bffd commit b9f46ec
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
build:
name: run Inkycal tests
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v3
Expand All @@ -21,6 +23,7 @@ jobs:
run: |
git clone --single-branch https://github.com/aceinnolab/Inkycal
- name: Creating virtual environment generate docs and install dependencies

run: |
cd Inkycal
echo "$PWD"
Expand All @@ -32,14 +35,19 @@ jobs:
cd docsource && make html
make github
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
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: |
echo "$PWD"
cd inkycal/tests
wget https://raw.githubusercontent.com/aceinnolab/Inkycal/assets/tests/settings.json
for f in *.py; do python3 "$f"; done

0 comments on commit b9f46ec

Please sign in to comment.