prometheus-fail2ban-exporter/.gitea/workflows/unit-tests.yaml
Markus Pesch d1bc3d6ae8
Some checks failed
Run unit tests / test (push) Failing after 3m54s
continuous-integration/drone/push Build is passing
chore(ci): add non-interactive flag --yes
2025-02-02 19:03:32 +01:00

29 lines
583 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-get update --yes
apt-get upgrade --yes
apt-get install --yes git npm
- env:
GOPROXY: ${{ vars.GOPROXY }}
GONOSUMDB: ${{ vars.GONOSUMDB }}
name: Execute containerized unit test
run: make test