mirror of
https://github.com/kairos-io/kairos-sdk.git
synced 2025-09-25 14:17:18 +00:00
5
.github/workflows/unit-tests.yml
vendored
5
.github/workflows/unit-tests.yml
vendored
@@ -11,8 +11,6 @@ jobs:
|
||||
unit-tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Build packages # This is used so luet is available in the machine for the tests
|
||||
uses: mudler/luet-github-action@v0.3.1
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -26,6 +24,9 @@ jobs:
|
||||
go-version-file: "go.mod"
|
||||
- name: Run tests
|
||||
run: |
|
||||
curl -L https://github.com/mudler/luet/releases/download/0.33.0/luet-0.33.0-linux-amd64 -o luet
|
||||
chmod +x luet
|
||||
sudo mv luet /usr/local/bin/luet
|
||||
go run github.com/onsi/ginkgo/v2/ginkgo run --fail-fast --covermode=atomic --coverprofile=coverage.out -p -r ./...
|
||||
- name: Codecov
|
||||
uses: codecov/codecov-action@v5
|
||||
|
Reference in New Issue
Block a user