mirror of
https://github.com/inexio/thola.git
synced 2026-10-24 03:08:55 +03:00
31 lines
498 B
YAML
31 lines
498 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Go 1.x
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ^1.17
|
|
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Generate mocks
|
|
run: go generate ./...
|
|
|
|
- name: Run tests
|
|
run: go test ./... -v
|
|
env:
|
|
THOLA_TEST_SIMPLEUI: true
|