Files
gitea-ci-library/.gitea/workflows/ci.yml
T
moilanik afe8a0fe38
CI / load-config (push) Successful in 11s
ci-bats Bats tests
ci-cucumber Cucumber tests
CI / Quality Gate (push) Failing after 1m15s
CI / main (push) Has been skipped
bats moun non read only
2026-06-14 07:36:34 +03:00

33 lines
892 B
YAML

name: CI
on:
push:
branches: ["**"]
workflow_dispatch:
jobs:
load-config:
uses: niko/gitea-ci-library/.gitea/workflows/config-provider.yml@main
with:
config_path: .gitea/workflows/gitea-env.conf
feature:
name: Quality Gate
if: github.ref != 'refs/heads/main'
needs: [load-config]
uses: niko/gitea-ci-library/.gitea/workflows/quality-gate.yml@feture/docker-kyky
secrets: inherit
with:
env_json: ${{ needs.load-config.outputs.env_json }}
bats-image: bats/bats:latest
cucumber-node-image: node:22
main:
if: github.ref == 'refs/heads/main'
needs: [load-config]
uses: niko/gitea-ci-library/.gitea/workflows/build_publish-artifact.yml@feture/docker-kyky
secrets: inherit
with:
env_json: ${{ needs.load-config.outputs.env_json }}
bats-image: bats/bats:latest
cucumber-node-image: node:22