fix
This commit is contained in:
@@ -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}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user