Skip to content

Commit

Permalink
cicd: Change matrix strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
tubarao312 committed Jan 10, 2025
1 parent a50d161 commit 270cc70
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ jobs:
steps:
- uses: actions/checkout@v4

# ===================================
# Common setup steps
# ===================================

- name: Download Docker image
uses: actions/download-artifact@v4
with:
Expand All @@ -107,13 +110,23 @@ jobs:
cargo sqlx migrate run --source ./server/libs/db-common/migrations
"
# Language-specific steps
- name: Run SDK specific workflow
uses: ./.github/actions/sdk-${{ matrix.sdk }}
# ===================================
# SDK-specific tests
# Each matrix step will run the tests
# for the corresponding SDK.
# ===================================

# Python
- name: Run Python tests
if: matrix.sdk == 'python'
uses: ./.github/actions/sdk-tests
with:
sdk: ${{ matrix.sdk }}
sdk: python

# ================================
# Cleanup
# ================================

- name: Cleanup test environment
if: always()
run: |
Expand Down

0 comments on commit 270cc70

Please sign in to comment.