Skip to content

API tests

API tests #64

Workflow file for this run

name: API tests
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * 1,2,3,4,5'
jobs:
automated-api-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Postman CLI
run: |
curl -o- "https://dl-cli.pstmn.io/install/linux64.sh" | sh
- name: Login to Postman CLI
run: postman login --with-api-key ${{ secrets.POSTMAN_API_KEY }}
- name: Run API tests
run: |
postman collection run "${{ github.workspace }}/tests/Api/postman/collections/Smoke Test.json" -e "33082135-163b2749-45b5-4967-a48d-ddea0aab6395"
postman collection run "${{ github.workspace }}/tests/Api/postman/collections/Integration Test.json" -e "33082135-163b2749-45b5-4967-a48d-ddea0aab6395"