Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/pr_closed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
echo "version_changed=true" >> $GITHUB_OUTPUT
fi

test-contract-provider:
test-contract:
name: "Test contracts (provider)"
needs: check-event-schemas-version-change
if: needs.check-event-schemas-version-change.outputs.version_changed == 'true'
Expand All @@ -85,15 +85,15 @@ jobs:
- name: "Install dependencies"
run: npm ci
- name: "Run provider contract tests"
run: make test-contract-provider
run: make test-contract
env:
GITHUB_PACKAGES_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish-event-schemas:
name: Publish event schemas package to GitHub package registry
needs:
- check-event-schemas-version-change
- test-contract-provider
- test-contract
if: needs.check-event-schemas-version-change.outputs.version_changed == 'true'
runs-on: ubuntu-latest
permissions:
Expand Down
8 changes: 4 additions & 4 deletions scripts/tests/test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ test: # Run all the test tasks @Testing
_test:
set -e
script="./scripts/tests/${name}.sh"
if [ -e "$${script}" ]; then
exec $${script}
else
echo "make test-${name} not implemented: $${script} not found" >&2
if [ -e "$${script}" ]; then \
exec $${script}; \
else \
echo "make test-${name} not implemented: $${script} not found" >&2; \
fi

${VERBOSE}.SILENT: \
Expand Down
Loading