]> git.lizzy.rs Git - hydra-dragonfire.git/blob - .github/workflows/test.yml
docker build and workflow
[hydra-dragonfire.git] / .github / workflows / test.yml
1 name: test
2
3 on: [push, pull_request]
4
5 jobs:
6   test:
7     runs-on: ubuntu-latest
8
9     steps:
10     - name: Checkout
11       uses: actions/checkout@v3
12       with:
13         fetch-depth: 0
14         submodules: recursive
15
16     - name: Install Go
17       uses: actions/setup-go@v3
18       with:
19         go-version: 1.18.x
20
21     - name: Test
22       run: |
23         go test ./... -coverprofile=profile.cov
24
25     - uses: shogo82148/actions-goveralls@v1.6.0
26       with:
27         path-to-profile: profile.cov