CI #1608
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-20.04 # TODO: Change back to 'ubuntu-latest' when https://github.com/microsoft/mssql-docker/issues/899 resolved. | |
env: | |
COMPOSE_FILE: docker-compose.ci.yml | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: | |
- 3.3.4 | |
- 3.2.5 | |
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 |