Skip to content

Commit

Permalink
Support matrix jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
carles-grafana committed Dec 18, 2024
1 parent 6053ef9 commit 5ec9139
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ jobs:
unit-tests:
needs: changes
if: ${{ needs.changes.outputs.not_only_drone == 'true' }}
name: Run Unit Tests
runs-on: ubuntu-24.04
strategy:
Expand All @@ -95,11 +94,11 @@ jobs:
go-version-file: "go.mod"

- name: Run Tests
if: ${{ needs.changes.outputs.not_only_drone == 'true' }}
run: make ${{ matrix.test-target }}

integration-tests:
needs: changes
if: ${{ needs.changes.outputs.not_only_drone == 'true' }}
name: Run integration tests
runs-on: ubuntu-24.04
strategy:
Expand All @@ -122,6 +121,7 @@ jobs:
with:
go-version-file: "go.mod"
- name: Run Tests
if: ${{ needs.changes.outputs.not_only_drone == 'true' }}
run: make ${{ matrix.test-target }}

build:
Expand Down

0 comments on commit 5ec9139

Please sign in to comment.