Skip to content

Commit

Permalink
GitHub Actions - run linting and specs separately
Browse files Browse the repository at this point in the history
  • Loading branch information
daaang committed Dec 17, 2024
1 parent 44a9249 commit eaa0052
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@ on:
jobs:
test:
runs-on: ${{ contains( github.event.pull_request.labels.*.name, 'use_fast_ci') && 'ubuntu-latest-8core' || '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 eaa0052

Please sign in to comment.