Run API tests on pull requests
This commit is contained in:
17
.github/workflows/automated-end-to-end-api.yaml
vendored
17
.github/workflows/automated-end-to-end-api.yaml
vendored
@@ -3,9 +3,14 @@ name: Automated API tests
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'webroot/**'
|
||||
- 'web/**'
|
||||
|
||||
- "webroot/**"
|
||||
- "web/**"
|
||||
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "webroot/**"
|
||||
- "web/**"
|
||||
|
||||
jobs:
|
||||
api:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -13,9 +18,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
stable: 'false'
|
||||
go-version: '1.17.2'
|
||||
stable: "false"
|
||||
go-version: "1.17.2"
|
||||
- name: Run API tests
|
||||
run: cd test/automated/api && ./run.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user