Skip to content

Commit

Permalink
Merge pull request #776 from mlibrary/add-ci-matrix
Browse files Browse the repository at this point in the history
GitHub Actions - run linting and specs separately
  • Loading branch information
rrotter authored Dec 17, 2024
2 parents 8921e1d + 4e1795f commit 80cf90a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@ on:

jobs:
test:
runs-on: ${{ contains( github.event.pull_request.labels.*.name, 'use_fast_ci') && 'ubuntu-latest-8core' || 'ubuntu-latest' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- "lint"
- "specs"
steps:
- uses: actions/checkout@v4
- name: Run tests
run: |
docker compose --file docker-compose.test.yml build
docker compose --file docker-compose.test.yml run lint
docker compose --file docker-compose.test.yml run specs
docker compose --file docker-compose.test.yml run ${{ matrix.target }}

0 comments on commit 80cf90a

Please sign in to comment.