Skip to content

Merge pull request #55 from MarketSquare/update_readme #76

Merge pull request #55 from MarketSquare/update_readme

Merge pull request #55 from MarketSquare/update_readme #76

Workflow file for this run

name: SOAP-Library
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
run-robot-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
env:
ROBOT_TESTS_DIR: ${{ github.workspace }}/Tests
ROBOT_REPORTS_DIR: ${{ github.workspace }}/reports
with:
python-version: '3.10'
- name: Install Dependencies
run: pip install -r requirements.txt
- name: Run Robot File
run: robot -d ./reports -e offline ./Tests/keyword_tests.robot
- name: Upload test results
uses: actions/upload-artifact@v1
if: always()
with:
name: robot_reports
path: reports
generate-robot-report:
if: always()
needs: [run-robot-tests]
runs-on: ubuntu-latest
steps:
- name: Download reports
uses: actions/download-artifact@v1
with:
name: robot_reports
- name: Send report to commit
uses: joonvena/[email protected]
with:
gh_access_token: ${{ secrets.GITHUB_TOKEN }}
report_path: /robot_reports