-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #902 from ruby/test-annotations
Test annotations
- Loading branch information
Showing
3 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: RBS Comments | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: {} | ||
|
||
jobs: | ||
test: | ||
runs-on: "ubuntu-latest" | ||
container: | ||
image: rubylang/ruby:3.1-focal | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: | | ||
apt-get update | ||
apt-get install -y libdb-dev | ||
- name: Update rubygems & bundler | ||
run: | | ||
ruby -v | ||
gem update --system | ||
- name: bundle config set with | ||
run: | | ||
echo "NO_MINITEST=true" >> $GITHUB_ENV | ||
bundle config set --local without 'minitest' | ||
if: "contains(matrix.container_tag, 'master-nightly')" | ||
- name: bin/setup | ||
run: | | ||
bin/setup | ||
- name: Run test | ||
run: | | ||
bundle exec rake annotate confirm_annotation |
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
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