Skip to content

Commit

Permalink
remove report generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfe1 committed May 21, 2024
1 parent 2aebff2 commit 743fb75
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 56 deletions.
55 changes: 2 additions & 53 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,9 @@ jobs:
- name: Run Edge Robot Tests
uses: nick-fields/retry@v3.0.0
with:
timeout_minutes: 15
timeout_minutes: 10
max_attempts: 10
command: robot -i Edge --output reports/outputEdge.xml test
new_command_on_retry: sleep 30; robot --rerunfailed "reports/outputEdge.xml" -i Edge --output reports/outputEdge.xml test

- name: Upload test results
uses: actions/upload-artifact@v3
if: always()
with:
name: reportsEdge${{ matrix.python-version }}
path: reports

run-tests-chrome:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -68,21 +60,11 @@ jobs:
- name: Run Chrome Robot Tests
uses: nick-fields/retry@v3.0.0
with:
timeout_minutes: 15
timeout_minutes: 10
max_attempts: 10
command: |
${{ matrix.set_display }}
robot -e BrokenORWindowsOREdge --output reports/outputChrome.xml test
new_command_on_retry: |
${{ matrix.set_display }}
robot --rerunfailed "reports/outputChrome.xml" -e BrokenORWindowsOREdge --output reports/outputChrome.xml test
- name: Upload test results
uses: actions/upload-artifact@v3
if: always()
with:
name: reportsChrome${{ matrix.python-version }}
path: reports
run-tests-unit:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -114,36 +96,3 @@ jobs:
parallel: true
run: |
coveralls --service=github
generate_report:
permissions:
actions: write
issues: write
discussions: write
pull-requests: write
if: always()
needs: [run-tests-chrome, run-tests-edge]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download reportsChrome
uses: actions/download-artifact@v3
with:
name: reportsChrome
path: reports
- name: Download reportsEdge
uses: actions/download-artifact@v3
with:
name: reportsEdge
path: reports
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install robotframework
- name: combine reports
run: rebot -o reports/output.xml reports/*.xml
- name: Send report to commit
uses: joonvena/robotframework-reporter-action@v2.4
with:
gh_access_token: ${{ secrets.GITHUB_TOKEN }}
show_passed_tests: false

0 comments on commit 743fb75

Please sign in to comment.