Files
gitea-ci-library/.gitea/workflows/example-feature.yml
T
moilanik 56031a03b8
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 16s
acc-tests Link to Cucumber reports
CI Feature / Cucumber tests (push) Successful in 30s
unit-tests Link to Bats reports
CI Feature / Bats tests (push) Failing after 22s
CI Feature / Report Summary (push) Successful in 5s
kontti hallitaan workflowssa
2026-06-18 10:42:08 +03:00

40 lines
1.0 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 }}
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 }}
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