mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 03:29:03 +03:00
Run API tests on pull requests
This commit is contained in:
parent
8a22475ccc
commit
cade15ea1b
1 changed files with 10 additions and 7 deletions
15
.github/workflows/automated-end-to-end-api.yaml
vendored
15
.github/workflows/automated-end-to-end-api.yaml
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue