Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
i-love-coffee-i-love-tea committed Apr 1, 2024
1 parent 774d6c7 commit 69e90eb
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,6 @@ jobs:
ls ${{ github.workspace }}/test/
ls ${{ github.workspace }}/test/test_helper
- run: echo "This job's status is ${{ job.status }}."

- name: Test
run: test/bats/bin/bats --report-formatter junit --output . test/test.bats


- name: Test Report
uses: phoenix-actions/test-reporting@v8
id: test-report # Set ID reference for step
if: success() || failure() # run this step even if previous step failed
with:
name: BATS Tests # Name of the check run which will be created
path: ./report.xml # Path to test results
reporter: java-junit # Format of test results

- name: Read output variables
run: |
echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"

- name: Test
run: test/bats/bin/bats test/test.bats

0 comments on commit 69e90eb

Please sign in to comment.