Skip to content

Commit

Permalink
Remove matrix setup for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarflakstad committed Mar 12, 2024
1 parent daa8c2f commit 476f71e
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: "3.11"

services:
postgres:
Expand All @@ -24,19 +20,15 @@ jobs:
options: --health-cmd pg_isready --health-interval 5s --health-timeout 5s --health-retries 5

steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: 'poetry'
cache-dependency-path: 'poetry.lock'

- name: Install dependencies
run: |
python -m pip install poetry
poetry install
run: poetry install

- name: Run tests
env:
Expand All @@ -45,4 +37,4 @@ jobs:
DB_USER: postgres
DB_PASS: postgres
DB_BASE: db_test
run: cd app && pytest .
run: cd app && poetry run pytest

0 comments on commit 476f71e

Please sign in to comment.