You've already forked getpsrc
All checks were successful
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 7s
Lint Markdown files / Run markdown linter (push) Successful in 5s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 1m14s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 34s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 20s
43 lines
1005 B
YAML
43 lines
1005 B
YAML
name: "Run Golang tests"
|
|
|
|
on:
|
|
pull_request:
|
|
types: [ "opened", "reopened", "synchronize" ]
|
|
push:
|
|
branches: [ '**' ]
|
|
tags-ignore: [ '**' ]
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
# integration-test:
|
|
# name: "Run integration tests"
|
|
# runs-on: ${{ matrix.os }}
|
|
# strategy:
|
|
# matrix:
|
|
# go: [ stable ]
|
|
# os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
|
|
# steps:
|
|
# - uses: actions/checkout@v4.3.0
|
|
# - uses: actions/setup-go@v5.5.0
|
|
# with:
|
|
# go-version: ${{ matrix.go }}
|
|
# - env:
|
|
# GOPROXY: ${{ vars.GOPROXY }}
|
|
# run: make test/integration
|
|
|
|
unit-test:
|
|
name: "Run unit tests"
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
go: [ stable ]
|
|
os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
|
|
steps:
|
|
- uses: actions/checkout@v4.3.0
|
|
- uses: actions/setup-go@v5.5.0
|
|
with:
|
|
go-version: ${{ matrix.go }}
|
|
- env:
|
|
GOPROXY: ${{ vars.GOPROXY }}
|
|
run: make test/unit
|