Skip to content

✅ fix run command

✅ fix run command #2

name: integration test
on:
push:
workflow_dispatch:
jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- 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: Cargo run
run: cargo run
- name: Run API tests
run: |
postman collection run "12620042-571b5df0-e0a3-438a-a6ef-2d6853bc6afa" -e "12620042-07831d65-8aaa-4584-8a15-51c9ca872aee"