Skip to content

Commit

Permalink
test: remove fail test
Browse files Browse the repository at this point in the history
  • Loading branch information
erzz authored Aug 15, 2023
1 parent 712c676 commit bf67f52
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,6 @@ on: push

jobs:
# <---------------- TEST BASIC CONFIG ------------------>
basic-success:
name: Basic fail condition
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Basic Test
id: test
uses: ./
with:
image: alpine:latest
accept-extensions: pem
report-name: basic-fail

- name: Verify result
if: always()
run: |
if [[ ${{ steps.test.conclusion == 'failure' }} ]];
exit 0
else
exit 1
fi
- name: Upload Reports
uses: actions/upload-artifact@v3
if: always()
with:
name: Basic Fail Report
path: basic-fail.json

basic-pass:
name: Basic success condition
runs-on: ubuntu-latest
Expand Down

0 comments on commit bf67f52

Please sign in to comment.