📝 Remove a needless space #471
This file contains hidden or 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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
name: ${{ matrix.os }} / Ruby ${{ matrix.ruby }} | |
strategy: | |
max-parallel: 1 | |
fail-fast: false | |
matrix: | |
os: [ubuntu, macos] # windows, if: runner.os == 'Windows' | |
ruby: ['3.0', '3.1', '3.2', '3.3'] | |
runs-on: ${{ matrix.os }}-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Prepare Apache Arrow on Linux | |
if: runner.os == 'Linux' | |
run: | | |
# TODO: Remove this step once `red-arrow` version 20.0.0 is released, | |
# as explicit repository specification will no longer be necessary. | |
sudo apt update | |
sudo apt install -y -V ca-certificates lsb-release wget | |
wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb | |
sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb | |
sudo apt update | |
- name: Prepare Apache Arrow on macOS | |
if: runner.os == 'macOS' | |
shell: bash | |
run: | | |
rm -f /usr/local/bin/2to3* || : | |
rm -f /usr/local/bin/idle3* || : | |
rm -f /usr/local/bin/pydoc3* || : | |
rm -f /usr/local/bin/python3* || : | |
rm -f /usr/local/bin/python3-config || : | |
- name: Set up Ruby ${{ matrix.ruby }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Install dependencies | |
run: | | |
# TODO: Remove this change after SciRuby/iruby#369 is merged and | |
# released. We disable parallel installation temporarily because | |
# `native-package-installer` isn't safe for it. | |
bundle install --jobs=1 | |
- name: Run test | |
run: bundle exec rake test | |
# - name: Check test coverage | |
# if: runner.os == 'Linux' && matrix.ruby == '3.1' | |
# uses: joshmfrankel/simplecov-check-action@main | |
# with: | |
# minimum_suite_coverage: 98 | |
# minimum_file_coverage: 90 | |
# github_token: ${{ secrets.GITHUB_TOKEN }} |