mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 14:20:54 +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:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'webroot/**'
|
||||
- 'web/**'
|
||||
- "webroot/**"
|
||||
- "web/**"
|
||||
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "webroot/**"
|
||||
- "web/**"
|
||||
|
||||
jobs:
|
||||
api:
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in a new issue