mirror of
https://github.com/dragonfireclient/hydra-dragonfire.git
synced 2024-11-21 10:24:01 -05:00
27 lines
No EOL
480 B
YAML
27 lines
No EOL
480 B
YAML
name: test
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
submodules: recursive
|
|
|
|
- name: Install Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.18.x
|
|
|
|
- name: Test
|
|
run: |
|
|
go test ./... -coverprofile=profile.cov
|
|
|
|
- uses: shogo82148/actions-goveralls@v1.6.0
|
|
with:
|
|
path-to-profile: profile.cov |