Changed the deprecated Process.fork
to the supported Process.exec
#5693
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: CI | |
concurrency: | |
group: ${{ github.head_ref }} | |
cancel-in-progress: true | |
on: | |
- pull_request | |
jobs: | |
matrix: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- id: file_changes | |
uses: trilom/file-changes-action@v1.2.4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0 | |
bundler-cache: true | |
- name: Install deps | |
run: bundle install --jobs 4 --retry 3 | |
- id: set-matrix | |
run: echo "matrix=$(bundle exec rake ci:matrix)" >> "$GITHUB_OUTPUT" | |
env: | |
FILES: ${{ steps.file_changes.outputs.files }} | |
outputs: | |
matrix: ${{ steps.set-matrix.outputs.matrix }} | |
test: | |
needs: matrix | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: ${{fromJson(needs.matrix.outputs.matrix)}} | |
max-parallel: 4 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-ruby@v1 | |
- name: Install deps | |
run: bundle install --jobs 4 --retry 3 | |
- name: Docker version | |
run: docker -v | |
- name: Configure | |
run: bundle exec rake config | |
- name: Build | |
run: | | |
make "build" -f "${DIRECTORY}/.Makefile" | |
env: | |
DIRECTORY: ${{ matrix.directory }} | |
ENGINE: ${{ matrix.engine }} | |
- name: Wait | |
run: sleep 1 | |
- name: Test | |
run: bundle exec rspec .spec | |
env: | |
LANGUAGE: ${{ matrix.language }} | |
FRAMEWORK: ${{ matrix.framework }} | |
ENGINE: ${{ matrix.engine }} |