mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 06:12:23 +03:00
We only have a single test, but might as well run it anyway
This commit is contained in:
parent
58858c99c2
commit
63954d4e1b
2 changed files with 23 additions and 1 deletions
2
.github/workflows/buildmaster.yaml
vendored
2
.github/workflows/buildmaster.yaml
vendored
|
@ -3,7 +3,7 @@ name: Build Owncast
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- github-actions
|
- master
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: master
|
branches: master
|
||||||
|
|
||||||
|
|
22
.github/workflows/test.yaml
vendored
Normal file
22
.github/workflows/test.yaml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: Tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches: master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install go
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: '1.14.x'
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: go test ./...
|
Loading…
Reference in a new issue