Files
autogits/.gitea/workflows/go-test-unit.yaml
T
Jan Zerebecki 6704f56723
go-test-unit / go-test-unit (pull_request) Successful in 35s
Integration (Selective) / check (pull_request) Successful in 1s
Integration (Selective) / integration (pull_request) Successful in 9m6s
ci: remove zypper call as image now includes it
2026-05-15 14:02:09 +02:00

21 lines
537 B
YAML

name: go-test-unit
on:
push:
branches: ['main']
pull_request:
workflow_dispatch:
jobs:
go-test-unit:
name: go-test-unit
container:
image: registry.opensuse.org/devel/factory/git-workflow/containers/opensuse/bci/golang-extended:latest
steps:
- name: Checkout
run: |
git clone --no-checkout --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }} .
git fetch origin ${{ gitea.ref }}
git checkout FETCH_HEAD
- name: Run unit tests
run: make test-ci