Skip to content

Update test-with-postman-cli.yml #64

Update test-with-postman-cli.yml

Update test-with-postman-cli.yml #64

name: Test with Postman CLI
on:
push:
workflow_dispatch:
jobs:
automated-api-testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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 }}/postman/collections/Cat Fact API.json" # --integration-id "138662-${{ github.run_id }}"