Un-commented a test case #10
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: Integration tests | |
on: | |
push: | |
branches: | |
- main | |
- v1 | |
pull_request: | |
branches: | |
- main | |
- v1 | |
env: | |
RUBY_VERSION: 3.3 | |
jobs: | |
integration_test: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile | |
MYSQL_HOST: 127.0.0.1 | |
POSTGRES_HOST: 127.0.0.1 | |
MSSQL_HOST: 127.0.0.1 | |
strategy: | |
matrix: | |
gemfile: | |
- ar_6.1 | |
- ar_7.0 | |
- ar_7.1 | |
- ar_7.2 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install build dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y build-essential freetds-dev | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ env.RUBY_VERSION }} | |
- name: Start DB | |
run: docker compose up -d | |
- name: Install gems | |
run: bundle install | |
- name: Run integration test | |
run: bundle exec rspec spec/integration/*_spec.rb |