Skip to content

main: Tests

main: Tests #121

Workflow file for this run

name: Tests
run-name: "${{ github.ref_name }}: Tests"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Go tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install virtualenv
run: |
pip install --upgrade virtualenv
- name: Run Go Tests
run: |
go test ./... -v