diff --git a/RCS Distribution and Retail b/RCS Distribution and Retail new file mode 100644 index 0000000..7b1e3fd --- /dev/null +++ b/RCS Distribution and Retail @@ -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 "26302756-21620990-410c-4a10-ad56-cc9e2ceb0ae9" -e "26302756-94d54a01-463d-444d-bf10-18d1521d1905"