Files
gitea-ci-library/.gitea/workflows/example-feature.yml
T
moilanik 7c93896051
CI Main / Load example-gitea-env.conf to pipeline env (push) Successful in 17s
CI Main / Check existing artifact (push) Successful in 10s
unit-tests Link to Bats reports
CI Main / Bats tests (push) Successful in 1m38s
acc-tests Link to Cucumber reports
CI Main / Cucumber tests (push) Successful in 1m5s
CI Main / Report Summary (push) Successful in 5s
ci-docker-build-push Docker build & push 0.1.10 OK
CI Main / Build & Push Docker (push) Successful in 36s
main job ajo tässä haarassa
2026-06-15 17:01:26 +03:00

43 lines
1.2 KiB
YAML

name: CI Feature
on:
push:
branches-ignore:
- feature/docker-kuntoon
- main
workflow_dispatch:
jobs:
load-config:
name: Load example-gitea-env.conf to pipeline env
uses: niko/gitea-ci-library/.gitea/workflows/config-provider.yml@feature/docker-kuntoon
secrets: inherit
with:
config_path: .gitea/workflows/example-gitea-env.conf
bats:
name: Bats tests
needs: [load-config]
uses: niko/gitea-ci-library/.gitea/workflows/example-bats-tests.yml@feature/docker-kuntoon
secrets: inherit
with:
env_json: ${{ needs.load-config.outputs.env_json }}
bats-image: bats/bats:latest
cucumber:
name: Cucumber tests
needs: [load-config]
uses: niko/gitea-ci-library/.gitea/workflows/example-cucumber-tests.yml@feature/docker-kuntoon
secrets: inherit
with:
env_json: ${{ needs.load-config.outputs.env_json }}
cucumber-node-image: node:22
report-summary:
name: Report Summary
needs: [load-config, bats, cucumber]
if: always()
uses: niko/gitea-ci-library/.gitea/workflows/example-report-summary.yml@feature/docker-kuntoon
with:
env_json: ${{ needs.load-config.outputs.env_json }}
suites: bats cucumber