Skip to content

Commit

Permalink
ci: move test step to build workflow and remove ci workflow
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed Jul 20, 2022
1 parent 1a905ab commit 7e54678
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 49 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/ci.yml

This file was deleted.

0 comments on commit 7e54678

Please sign in to comment.