Run API tests on pull requests

This commit is contained in:
Gabe Kangas 2022-10-12 15:34:35 -07:00 committed by GitHub
parent 8a22475ccc
commit cade15ea1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,8 +3,13 @@ name: Automated API tests
on: on:
push: push:
paths-ignore: paths-ignore:
- 'webroot/**' - "webroot/**"
- 'web/**' - "web/**"
pull_request:
paths-ignore:
- "webroot/**"
- "web/**"
jobs: jobs:
api: api:
@ -13,9 +18,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
stable: 'false' stable: "false"
go-version: '1.17.2' go-version: "1.17.2"
- name: Run API tests - name: Run API tests
run: cd test/automated/api && ./run.sh run: cd test/automated/api && ./run.sh