Skip to content

Commit

Permalink
Debug 'No files were found with the provided path' issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ashikkumar23 committed Sep 21, 2023
1 parent 1a92e6a commit 4c8cf52
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pytest-html-report.yml
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: Pytest and HTML Report
name: Run pytest and upload HTML report

# Specifies the trigger for this workflow
on:
Expand Down Expand Up @@ -53,10 +53,14 @@ jobs:
run: >
python3 -m pytest -v --gherkin-terminal-reporter --reruns 1 --reruns-delay 1
--tags="${{ github.event.inputs.tags }}" -s --color=yes --html=reports/test-report.html
continue-on-error: true

# Upload html report as artifact
- name: Upload HTML report
uses: actions/upload-artifact@v3
with:
name: test-report
path: reports/test-report.html

- name: List contents of reports directory
run: ls reports

0 comments on commit 4c8cf52

Please sign in to comment.