Skip to content

Commit

Permalink
Merge pull request #14 from ashikkumar23/10-artifacts-produced-during…
Browse files Browse the repository at this point in the history
…-runtime-size-is-0-bytes

[Issue #10] Artifacts produced during runtime size is 0 Bytes
  • Loading branch information
ashikkumar23 authored Sep 21, 2023
2 parents a22454a + 1a92e6a commit f61c9ee
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The name of the workflow as it will appear in the "Actions" tab of the GitHub repository
name: Run tests
name: Pytest and HTML Report

# Specifies the trigger for this workflow
on:
Expand Down Expand Up @@ -49,16 +49,14 @@ jobs:
path: ./tests/

# Execute tests
- name: Run tests
- name: Run pytest with HTML report
run: >
python3 -m pytest -v --gherkin-terminal-reporter --reruns 1 --reruns-delay 1
--tags="${{ github.event.inputs.tags }}" -s --color=yes --html=test_report.html --self-contained-html
--tags="${{ github.event.inputs.tags }}" -s --color=yes --html=reports/test-report.html
# Upload html result as artifact
- name: Upload pytest test results
# Upload html report as artifact
- name: Upload HTML report
uses: actions/upload-artifact@v3
with:
name: pytest-results
path: |
./tests/output/reports/
if: ${{ always() }}
name: test-report
path: reports/test-report.html

0 comments on commit f61c9ee

Please sign in to comment.