Skip to content

Commit

Permalink
task(ci): wip
Browse files Browse the repository at this point in the history
  • Loading branch information
svaponi committed Apr 18, 2024
1 parent f2048f0 commit 67722ac
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,13 @@ on:
jobs:
Run-Tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.12" ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
- name: Install poetry
uses: abatilo/actions-poetry@v3.0.0
# Cache the virtual environment to speed up build time
# See https://github.com/marketplace/actions/python-poetry-action#workflow-example-cache-the-virtual-environment
- uses: actions/cache@v3
name: Define cache for the virtual environment
run: pipx install poetry
- uses: actions/setup-python@v3
with:
path: ./.venv
key: venv-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run pytest
python-version: '3.12'
cache: 'poetry'
- run: poetry install
- run: poetry run pytest

0 comments on commit 67722ac

Please sign in to comment.