Skip to content

Merge pull request #10 from c4dt/yarn_lock #18

Merge pull request #10 from c4dt/yarn_lock

Merge pull request #10 from c4dt/yarn_lock #18

name: Go Integration Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
integration:
name: Integration test
runs-on: ubuntu-latest
steps:
- name: Set up Go ^1.17
uses: actions/setup-go@v2
with:
go-version: ^1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run the integration test
run: go test -timeout 10m -run TestIntegration ./integration/...
bad_vote:
name: Test bad vote
runs-on: ubuntu-latest
steps:
- name: Set up Go ^1.17
uses: actions/setup-go@v2
with:
go-version: ^1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run the bad vote test
run: go test -timeout 10m -run TestBadVote ./integration/...
crash:
name: Test crash
runs-on: ubuntu-latest
steps:
- name: Set up Go ^1.17
uses: actions/setup-go@v2
with:
go-version: ^1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run the crash test
run: go test -timeout 10m -run TestCrash ./integration/...
revote:
name: Test revote
runs-on: ubuntu-latest
steps:
- name: Set up Go ^1.17
uses: actions/setup-go@v2
with:
go-version: ^1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run the revote test
run: go test -timeout 10m -run TestRevote ./integration/...