Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
postman gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcc1212 committed Feb 15, 2024
1 parent 092fb9a commit 2266a7e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/postman.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Automated API tests using Postman CLI

on: push

jobs:
automated-api-tests:
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 "32854919-ced710d2-8af1-4f36-bdc1-027dce3c78af"

0 comments on commit 2266a7e

Please sign in to comment.