Skip to content

Now checking the expected status of each HTTP request. #3

Now checking the expected status of each HTTP request.

Now checking the expected status of each HTTP request. #3

name: Automated contract tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
contract-tests:
runs-on: ubuntu-latest
strategy:
matrix:
subproject:
- rest-api
- mocked-mongodb
- mocked-rabbit
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm ci
working-directory: ${{ matrix.subproject }}
- run: npm test
working-directory: ${{ matrix.subproject }}