Separate out GitHub Actions
This commit is contained in:
23
.github/workflows/long_running_test.yml
vendored
Normal file
23
.github/workflows/long_running_test.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Long-Running Unit Test
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Run Long Running Unit Test
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '1.17'
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
key: ${{ inputs.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: ${{ inputs.os }}-go-
|
||||
|
||||
- run: go install ./cmd/litestream
|
||||
|
||||
- run: go test -v -run=TestCmd_Replicate_LongRunning ./integration -long-running-duration 1m
|
||||
Reference in New Issue
Block a user