Handle missing github handle #75
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile') }} | |
restore-keys: | | |
${{ runner.os }}-gem- | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0 | |
- name: Install dependencies | |
run: bundle check || bundle install --jobs=4 --retry=3 --path vendor/bundle | |
- name: Run tests | |
run: bundle exec rake | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-results | |
path: test-results | |
- name: Publish unit tests report | |
uses: mikepenz/action-junit-report@v4 | |
if: always() # always run even if the previous step fails | |
with: | |
check_name: "Test Report" | |
report_paths: test-results/rspec/rspec.xml |