Skip to content

Commit

Permalink
chore(actions) Cache 2
Browse files Browse the repository at this point in the history
  • Loading branch information
VVoruganti committed Jul 24, 2024
1 parent 5dbf686 commit 02481c3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.11
cache: 'poetry'
- name: Install poetry
run: |
pip install poetry
- name: Start Database
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: |
sudo chown -R runner:docker data && sudo chmod -R 755 data
Expand Down

0 comments on commit 02481c3

Please sign in to comment.