fix
CI / main (push) Has been skipped
ci-bats Bats tests
ci-cucumber Cucumber tests
ci-build Build complete
CI / feature (push) Successful in 1m27s

This commit is contained in:
moilanik
2026-06-12 18:08:41 +03:00
parent a3951b9ae7
commit ff19ed2650
+8
View File
@@ -29,6 +29,7 @@ jobs:
- name: Run bats tests
continue-on-error: true
shell: bash
run: |
mkdir -p "reports/${GITHUB_SHA:0:8}/bats"
docker run --rm -v "$PWD:/code" ${{ inputs.bats-image }} /code/tests/*.bats > "reports/${GITHUB_SHA:0:8}/bats/results.txt" 2>&1 || true
@@ -37,10 +38,12 @@ jobs:
fi
- name: Publish bats reports
shell: bash
run: |
bash .ci/scripts/publish-git-pages.sh "reports/${GITHUB_SHA:0:8}/bats"
- name: Set bats commit status
shell: bash
run: |
bash .ci/scripts/report-status.sh success \
"Bats tests" \
@@ -66,6 +69,7 @@ jobs:
- name: Run cucumber tests
continue-on-error: true
shell: bash
run: |
mkdir -p "reports/${GITHUB_SHA:0:8}/cucumber"
npx cucumber-js \
@@ -75,10 +79,12 @@ jobs:
--format json:"reports/${GITHUB_SHA:0:8}/cucumber/report.json"
- name: Publish cucumber reports
shell: bash
run: |
bash .ci/scripts/publish-git-pages.sh "reports/${GITHUB_SHA:0:8}/cucumber"
- name: Set cucumber commit status
shell: bash
run: |
bash .ci/scripts/report-status.sh success \
"Cucumber tests" \
@@ -102,6 +108,7 @@ jobs:
path: .ci
- name: Generate report index
shell: bash
run: |
SHA8="${GITHUB_SHA:0:8}"
mkdir -p "reports/${SHA8}"
@@ -128,6 +135,7 @@ jobs:
} > "reports/${SHA8}/index.html"
- name: Publish report index
shell: bash
run: |
bash .ci/scripts/publish-git-pages.sh "reports/${GITHUB_SHA:0:8}"