Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve test GitHub workflow #1279

Merged
merged 1 commit into from Mar 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/test.yml
Expand Up @@ -2,19 +2,22 @@ on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.16.x, oldstable, stable]
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.18.x
go-version: ${{ matrix.go-version }}
- name: Install Packages
run: |
sudo apt-get -qq update
sudo apt-get install -y build-essential
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: |
TMPDIR=$RUNNER_TEMP go test -v ./...
./contrib/docker-test.sh
uses: actions/checkout@v3
- name: Test Chrome
run: go test -v ./...
- name: Test headless-shell
run: ./contrib/docker-test.sh