Skip to content

Refactor release script to prompt for confirmation before pushing gem… #45

Refactor release script to prompt for confirmation before pushing gem…

Refactor release script to prompt for confirmation before pushing gem… #45

Workflow file for this run

name: test
permissions: read-all
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: false
jobs:
rspec:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ruby, jruby, truffleruby]
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rspec
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: bundle exec rspec
- uses: codecov/codecov-action@v5
continue-on-error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- uses: codecov/test-results-action@v1
if: ${{ !cancelled() }}
continue-on-error: true
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/junit-coverage.xml
- uses: codacy/[email protected]
continue-on-error: true
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage/coverage.xml