test: add unit and integration tests for linked-clone entrypoint life… #1938
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - v* | |
| tags: | |
| - v* | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build-amd64: | |
| name: Build AMD64 binaries | |
| runs-on: longhorn-infra-oracle-amd64-spdk-runners | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: Install make curl git kmod | |
| run: | | |
| sudo apt update | |
| sudo apt-get -y install make curl git kmod | |
| # Build binaries | |
| - name: Run ci | |
| run: make ci | |
| - uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4 | |
| with: | |
| files: ./coverage.out | |
| flags: unittests | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| build-arm64: | |
| name: Build ARM64 binaries | |
| runs-on: longhorn-infra-oracle-arm64-spdk-runners | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: Install make curl git kmod | |
| run: | | |
| sudo apt update | |
| sudo apt-get -y install make curl git kmod | |
| # Build binaries | |
| - name: Run ci | |
| run: sudo make ci | |
| - uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4 | |
| with: | |
| files: ./coverage.out | |
| flags: unittests | |
| token: ${{ secrets.CODECOV_TOKEN }} |