This repository has been archived by the owner on Aug 14, 2024. It is now read-only.
Add missing closing bracket in Jenkinsfile #63
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Tailscale | |
uses: tailscale/github-action@v2 | |
with: | |
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} | |
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} | |
tags: tag:ci | |
- name: Login to Postman CLI | |
run: postman login --with-api-key ${{ secrets.POSTMAN_API_KEY }} | |
- name: Run posts tests | |
run: | | |
postman collection run 32854919-ced710d2-8af1-4f36-bdc1-027dce3c78af -i 32854919-68fb46d3-8dcf-4965-ae19-063315b21e38 --insecure | |
- name: run users tests | |
run: | | |
postman collection run 32854919-ced710d2-8af1-4f36-bdc1-027dce3c78af -i 32854919-df352302-1081-4e05-beb5-b6e62127eb13 --insecure |