Files
getidev/.gitea/workflows/golang-tests.yaml
T
CSRBot a2f3e863ed
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Failing after 20s
Lint Markdown files / Run markdown linter (pull_request) Failing after 12m22s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Failing after 12m53s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Failing after 12m56s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Failing after 13m2s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 18s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 15s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Failing after 8s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Failing after 9s
chore(deps): pin dependencies
2026-06-05 12:10:07 +00:00

43 lines
1.1 KiB
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@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: ${{ matrix.go }}
- env:
GOPROXY: ${{ vars.GOPROXY }}
run: make test/unit