Skip to content

Commit

Permalink
chore(): Update breaking change in the upload artifact to include hid…
Browse files Browse the repository at this point in the history
…den files
  • Loading branch information
Jon Stairs committed Sep 3, 2024
1 parent dac553d commit 80ce51e
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,40 @@ jobs:
name: rspec tests
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4

- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
bundler-cache: true

- name: Run rspec tests
run: |
bundle exec rspec
- name: Upload coverage results
uses: actions/upload-artifact@v3
with:
name: coverage-results
path: coverage
retention-days: 5

- name: Check out code
uses: actions/checkout@v4

- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
bundler-cache: true

- name: Run rspec tests
run: |
bundle exec rspec
- name: Upload coverage results
uses: actions/upload-artifact@v3
with:
include-hidden-files: 'true'
name: coverage-results
path: coverage
retention-days: 5
coverage:
needs: rspec
runs-on: ubuntu-latest
steps:
- name: Download coverage results
uses: actions/download-artifact@v3
with:
name: coverage-results
path: coverage

- name: Simplecov Report
uses: aki77/simplecov-report-action@7fd5fa551dd583dd437a11c640b2a1cf23d6cdaa # v1.5.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
failedThreshold: 100
resultPath: coverage/.last_run.json
- name: Download coverage results
uses: actions/download-artifact@v3
with:
name: coverage-results
path: coverage

- name: Simplecov Report
uses: aki77/simplecov-report-action@7fd5fa551dd583dd437a11c640b2a1cf23d6cdaa # v1.5.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
failedThreshold: 100
resultPath: coverage/.last_run.json

0 comments on commit 80ce51e

Please sign in to comment.