CI #1476
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 | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: '0 4 * * 1' | |
jobs: | |
test: | |
name: Run test suite | |
runs-on: ubuntu-latest | |
env: | |
COMPOSE_FILE: docker-compose.ci.yml | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: | |
- 3.3.4 | |
- 3.2.5 | |
- 3.1.6 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build docker images | |
run: docker compose build --build-arg TARGET_VERSION=${{ matrix.ruby }} | |
- name: Run tests | |
run: docker compose run ci |