Add basic XFS powerfailure tests #33
Workflow file for this run
This file contains 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: Robustness Test | |
on: [push, pull_request] | |
permissions: read-all | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- id: goversion | |
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT" | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ steps.goversion.outputs.goversion }} | |
- run: | | |
set -euo pipefail | |
sudo apt-get install -y dmsetup xfsprogs | |
make gofail-enable | |
# build bbolt with failpoint | |
go install ./cmd/bbolt | |
sudo -E PATH=$PATH make test-robustness |