mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
21 lines
602 B
YAML
21 lines
602 B
YAML
name: Linearizability
|
|
on: [push, pull_request]
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: "1.19.1"
|
|
- run: |
|
|
pushd tools/mod; go install go.etcd.io/gofail; popd
|
|
mkdir -p /tmp/linearizability
|
|
FAILPOINTS=true make build
|
|
cat server/etcdserver/raft.fail.go
|
|
EXPECT_DEBUG=true GO_TEST_FLAGS=-v RESULTS_DIR=/tmp/linearizability make test-linearizability
|
|
- uses: actions/upload-artifact@v2
|
|
if: always()
|
|
with:
|
|
path: /tmp/linearizability/*
|