Provide support for boot from virtual media #1953
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: Tests | |
| on: | |
| pull_request: | |
| types: [ assigned, opened, synchronize, reopened ] | |
| paths-ignore: | |
| - 'docs/**' | |
| - '**/*.md' | |
| jobs: | |
| test: | |
| name: Run tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install lldpd | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y lldpd | |
| - name: Start lldpd | |
| run: | | |
| sudo systemctl start lldpd | |
| - name: Clone the code | |
| uses: actions/checkout@v6 | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - name: Running Tests | |
| run: | | |
| sudo --preserve-env=GOROOT,GOPATH,PATH go mod tidy | |
| sudo --preserve-env=GOROOT,GOPATH,PATH make test-only |