ci: move test step to build workflow and remove ci workflow

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-05-05 18:09:57 +02:00
parent 1a905ab966
commit 7e546784a4
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 29 additions and 49 deletions

View file

@ -15,8 +15,37 @@ env:
DOCKERHUB_SLUG: distribution/distribution
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- 1.17
- 1.18
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
-
name: Test
run: |
make coverage
-
name: Codecov
uses: codecov/codecov-action@v3
with:
directory: ./
build:
runs-on: ubuntu-latest
needs:
- test
steps:
-
name: Checkout