-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Julien Bouquillon
committed
Aug 2, 2023
1 parent
071e8d3
commit a0e135b
Showing
1 changed file
with
0 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,26 +106,3 @@ jobs: | |
- run: yarn workspace ${{ inputs.name }} test | ||
env: | ||
SG_DOCKER_IMAGE: ghcr.io/socialgouv/docker/${{ inputs.name }}:sha-${{ github.sha }} | ||
|
||
structure_test: | ||
name: Structure test | ||
needs: | ||
- Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: "actions/checkout@v3" | ||
- shell: bash | ||
id: check_structure_test | ||
run: | | ||
if [ -f "./${{ inputs.name }}/tests/container-structure-test.yml" ]; then | ||
echo "test exist" | ||
echo "result=true" >> $GITHUB_OUTPUT | ||
else | ||
echo "test does not exist" | ||
echo "result=false" >> $GITHUB_OUTPUT | ||
fi | ||
- uses: plexsystems/[email protected] | ||
if: steps.check_structure_test.outputs.result == 'true' | ||
with: | ||
image: ghcr.io/socialgouv/docker/${{ inputs.name }}:sha-${{ github.sha }} | ||
config: ./${{ inputs.name }}/tests/container-structure-test.yml |