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

Add Tailscale GitHub Action for CI #2

Add Tailscale GitHub Action for CI

Add Tailscale GitHub Action for CI #2

Workflow file for this run

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 API tests
run: |
postman collection run "32854919-ced710d2-8af1-4f36-bdc1-027dce3c78af"