ci: ensure package coverage of test-core

This commit is contained in:
Seth Hoenig
2022-03-19 16:29:32 -05:00
parent 19bac3caa8
commit 72a4677415
6 changed files with 260 additions and 29 deletions

View File

@@ -42,6 +42,7 @@ jobs:
cache-key-suffix: -checks
- name: Run make check
run: |
make missing
make bootstrap
make check
compile:
@@ -87,42 +88,51 @@ jobs:
fail-fast: false
matrix:
pkg:
- acl
- acl/...
- client
- client/allocdir
- client/allochealth
- client/allocrunner
- client/allocwatcher
- client/config
- client/consul
- client/devicemanager
- client/dynamicplugins
- client/fingerprint
- client/allocdir/...
- client/allochealth/...
- client/allocrunner/...
- client/allocwatcher/...
- client/config/...
- client/consul/...
- client/devicemanager/...
- client/dynamicplugins/...
- client/fingerprint/...
- client/interfaces/...
- client/lib/...
- client/logmon
- client/pluginmanager
- client/state
- client/stats
- client/structs
- client/taskenv
- client/logmon/...
- client/pluginmanager/...
- client/servers/...
- client/serviceregistration/...
- client/state/...
- client/stats/...
- client/structs/...
- client/taskenv/...
- command
- command/agent
- drivers/docker
- drivers/exec
- drivers/java
- drivers/rawexec
- command/agent/...
- command/raft_tools/...
- drivers/docker/...
- drivers/exec/...
- drivers/java/...
- drivers/mock/...
- drivers/rawexec/...
- drivers/shared/...
- drivers/qemu/...
- helper/...
- internal/...
- jobspec/...
- lib/...
- nomad
- nomad/deploymentwatcher
- nomad/stream
- nomad/structs
- nomad/volumewatcher
- nomad/deploymentwatcher/...
- nomad/drainer/...
- nomad/state/...
- nomad/stream/...
- nomad/structs/...
- nomad/volumewatcher/...
- plugins/...
- scheduler/...
- testutil
- testutil/...
steps:
- uses: actions/checkout@v2
- uses: magnetikonline/action-golang-cache@v1