prometheus-fail2ban-exporter/.gitea/workflows/unit-tests.yaml
Markus Pesch 4d47b0d1d0
Some checks failed
Run unit tests / test (push) Failing after 12s
continuous-integration/drone/push Build is passing
chore(ci): select another runner
2025-02-02 19:01:04 +01:00

29 lines
566 B
YAML

name: Run unit tests
on:
pull_request:
branches:
- '*'
types: [ "opened", "reopened", "synchronize" ]
push:
branches:
- '*'
workflow_dispatch: {}
jobs:
test:
container:
image: docker.io/library/golang:1.23.5
runs-on:
- ubuntu-latest
steps:
- name: Install tooling
run: |
apt update --yes
apt upgrade --ye s
apt install git npm
- env:
GOPROXY: ${{ vars.GOPROXY }}
GONOSUMDB: ${{ vars.GONOSUMDB }}
name: Execute containerized unit test
run: make test