Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Aug 2, 2023
1 parent 071e8d3 commit a0e135b
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/workflow.build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a0e135b

Please sign in to comment.