Skip to content

Commit

Permalink
updated the yml file to include the api tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mishal.alexander committed Jan 5, 2024
1 parent 8e99bb6 commit 9d41891
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/parallel-test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,25 @@ jobs:
with:
name: Mochawesome html report - Register
path: cypress/reports/html

api-tests-run:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3

# Install npm dependencies, cache them correctly
# and run all Cypress tests

- name: Cypress run
uses: cypress-io/github-action@v5
with:
command: npm run test:apiTests

- name: All apis Test Report
if: always()
uses: actions/upload-artifact@v4
with:
name: Mochawesome html report - Apis
path: cypress/reports/html

0 comments on commit 9d41891

Please sign in to comment.