Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/test-nonparallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ jobs:
run: coverage
working-directory: '${{ inputs.base_path }}'

- name: Publish RSpec test report
if: always()
uses: dorny/test-reporter@v1
with:
name: RSpec Tests
path: '${{ inputs.base_path }}/tmp/rspec-results*.json'
reporter: rspec-json
list-tests: failed
fail-on-error: false

- name: Build and upload application documentation
run: api-docs --skip-upload && coverage --docs-only
if: github.ref == 'refs/heads/master'
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/test-parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,18 @@ jobs:
run: coverage part
working-directory: '${{ inputs.base_path }}'

- name: List RSpec output files (debug)
if: always()
run: find '${{ inputs.base_path }}/tmp' -name 'rspec-results*' 2>/dev/null || echo 'No rspec-results files found'

- name: Upload RSpec test results
if: always()
uses: actions/upload-artifact@v4
with:
name: rspec-json-${{ strategy.job-index }}
path: '${{ inputs.base_path }}/tmp/rspec-results*.json'
if-no-files-found: ignore

targets:
name: Targets
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -109,6 +121,7 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 5
needs: [specs, targets]
if: always()
steps:
- name: Prepare the environment
uses: hausgold/actions/ci@v2
Expand All @@ -121,3 +134,21 @@ jobs:
- name: Upload the code coverage report
run: coverage merge
working-directory: '${{ inputs.base_path }}'

- name: Download RSpec test results
if: always()
continue-on-error: true
uses: actions/download-artifact@v4
with:
pattern: rspec-json-*
path: rspec-json/

- name: Publish RSpec test report
if: always()
uses: dorny/test-reporter@v1
with:
name: RSpec Tests
path: rspec-json/**/*.json
reporter: rspec-json
list-tests: failed
fail-on-error: false