5859189910
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 18s
unit-tests Link to Bats reports
CI Feature / Bats tests (push) Successful in 1m39s
acc-tests Link to Cucumber reports
CI Feature / Cucumber tests (push) Successful in 1m5s
CI Feature / Report Summary (push) Successful in 4s
42 lines
1.2 KiB
YAML
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@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
|