Skip to content

Commit

Permalink
Only run sync test if code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jbygdell committed Nov 27, 2024
1 parent 0e6401b commit 14428db
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build_pr_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,25 @@ jobs:
- name: Test sensitive-data-archive
run: docker compose -f .github/integration/sda-${{matrix.storage}}-integration.yml run integration_test

sda-sync:
needs:
- build_go_images
- build_server_images
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
sync:
- "sda/cmd/sync/*"
sync-api:
- "sda/cmd/syncapi/*"
- name: Test sda-sync
run: docker compose -f .github/integration/sda-sync-integration.yml run integration_test
if: steps.changes.outputs.sync == 'true' || steps.changes.outputs.sync-api == 'true'

chart:
needs:
- build_go_images
Expand Down

0 comments on commit 14428db

Please sign in to comment.