Files
gitea-ci-library/.gitea/workflows/example-feature.yml
T
moilanik 69a2649d83
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 25s
acc-tests Link to Cucumber reports
CI Feature / Cucumber tests (push) Successful in 1m12s
unit-tests Link to Bats reports
CI Feature / Bats tests (push) Successful in 1m48s
CI Feature / Report Summary (push) Successful in 6s
käytetään omia kontteja, eikä rakenneta lennosta!
2026-06-16 09:28:25 +03:00

42 lines
1.2 KiB
YAML

name: CI Feature
on:
push:
branches-ignore:
- 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@main
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@main
secrets: inherit
with:
env_json: ${{ needs.load-config.outputs.env_json }}
bats-image: gitea.app.keskikuja.site/niko/ci-bats:latest
cucumber:
name: Cucumber tests
needs: [load-config]
uses: niko/gitea-ci-library/.gitea/workflows/example-cucumber-tests.yml@main
secrets: inherit
with:
env_json: ${{ needs.load-config.outputs.env_json }}
cucumber-node-image: gitea.app.keskikuja.site/niko/ci-cucumber:latest
report-summary:
name: Report Summary
needs: [load-config, bats, cucumber]
if: always()
uses: niko/gitea-ci-library/.gitea/workflows/report-summary.yml@main
with:
env_json: ${{ needs.load-config.outputs.env_json }}
suites: bats cucumber