ライブラリの更新 (202406) #255
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 and coverage measurement | |
on: | |
push: | |
paths-ignore: | |
- README.md | |
pull_request: {} | |
jobs: | |
test: | |
name: "Ruby 3.2: test and coverage measurement" | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')" | |
steps: | |
- name: Install packages | |
run: | | |
sudo apt update -qy | |
sudo apt install libgdbm6 libgdbm-dev | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2' | |
# runs 'bundle install' and caches installed gems automatically | |
bundler-cache: true | |
- uses: paambaati/codeclimate-action@v2.7.5 | |
env: | |
CC_TEST_REPORTER_ID: 8310d94ccb41382dfbe0d2fed241c565b33ca01cea938449c4ba0b62500d01e2 | |
with: | |
coverageCommand: bundle exec rake spec |