Skip to content

Commit

Permalink
Fix linting issue and dir selection
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgospodinow committed Jan 27, 2024
1 parent 3cb770b commit 9025018
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,19 @@ jobs:

- name: No issues in a healthy package
id: test-healthy
working-directory: ./tests/healthypkg
run: |
docker run \
-e PACKAGE_TO_SCAN="./..." \
-e PACKAGE_TO_SCAN="./tests/healthypkg/..." \
--rm ${{ env.TEST_TAG }}
- name: Spot issues in an unhealthy package
id: test-unhealthy
working-directory: ./tests/unhealthypkg
run: |
set +e
docker run \
-e PACKAGE_TO_SCAN="./..." \
--rm ${{ env.TEST_TAG }}
if [[ $? -eq 0 ]]; then
if docker run \
-e PACKAGE_TO_SCAN="./tests/unhealthypkg/..." \
--rm ${{ env.TEST_TAG }}; then
echo "Container didn't fail when it should've"
exit 1
else
Expand Down

0 comments on commit 9025018

Please sign in to comment.