micro/.gitea/workflows/job_test.yml
Vasiliy Tolstov b71fc25328
All checks were successful
lint / lint (pull_request) Successful in 44s
test / test (pull_request) Successful in 41s
add micro-tests trigger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-12-10 16:46:40 +03:00

35 lines
600 B
YAML

name: test
on:
pull_request:
types: [opened, reopened, synchronize]
branches:
- master
- v3
- v4
push:
branches:
- master
- v3
- v4
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
filter: 'blob:none'
- name: setup-go
uses: actions/setup-go@v5
with:
cache-dependency-path: "**/*.sum"
go-version: 'stable'
- name: deps
run: go get -v ./...
- name: test
env:
INTEGRATION_TESTS: yes
run: go test -mod readonly -v ./...