Skip to content

Commit

Permalink
chore(actions) Permissions 9 & Cache
Browse files Browse the repository at this point in the history
  • Loading branch information
VVoruganti committed Jul 24, 2024
1 parent 47747d4 commit 5dbf686
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,17 @@ jobs:
run: |
cp .env.template .env
docker compose -f docker-compose.yml.example up database -d
- uses: actions/cache@v3
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry
- name: Run Tests
run: |
ls -l
sudo chown -R runner:docker data && sudo chmod -R 755 data
ls -l
ls -alR data
ls -alR data/pgdata
poetry install --no-root
poetry run coverage run -m pytest -vv -s
poetry run coverage report --format=markdown > coverage.md
Expand Down

0 comments on commit 5dbf686

Please sign in to comment.