Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix linting issue and dir selection
Browse files Browse the repository at this point in the history
danielgospodinow committed Jan 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
@@ -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

0 comments on commit 9025018

Please sign in to comment.