Skip to content

Commit

Permalink
Merge pull request #276 from hakonhagland/gha_docker
Browse files Browse the repository at this point in the history
Also run github action tests for docker directory
  • Loading branch information
lisajulia authored Nov 13, 2024
2 parents 46e6363 + b103c70 commit 48f0ec2
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ on:
push:
paths:
- 'scripts/python/**'
- 'docker/**'
- '.github/workflows/ci.yml'
pull_request:
paths:
- 'scripts/python/**'
- 'docker/**'
- '.github/workflows/ci.yml'

permissions:
Expand All @@ -33,11 +35,19 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: abatilo/actions-poetry@v2
- name: Install dependencies
- name: Install dependencies for scripts/python
run: |
cd scripts/python
poetry install
- name: Run tests
- name: Run tests in scripts/python
run: |
cd scripts/python
poetry run pytest tests
- name: Install dependencies for docker folder
run: |
cd docker
poetry install
- name: Run tests in docker folder
run: |
cd docker
poetry run pytest tests

0 comments on commit 48f0ec2

Please sign in to comment.