Skip to content

Commit

Permalink
Refactor github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Karolk99 committed Jun 21, 2024
1 parent 1617173 commit 9aadc39
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ jobs:

runs-on: ubuntu-latest
name: lint
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: 3.8
- name: Install poetry
run: pip install poetry
- name: Install project dependencies
Expand All @@ -29,15 +25,12 @@ jobs:
test:
runs-on: ubuntu-latest
name: test
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: 3.8
- run: docker compose -f docker-compose-test.yaml up test --exit-code-from test
- run: docker compose -f docker-compose-test.yaml down
- run: docker compose -f docker-compose-test.yaml up examples --exit-code-from examples

0 comments on commit 9aadc39

Please sign in to comment.