Sha256: 05e140517e120efa8e663d911c41269e6a6021ac778f8594717a02955d552664
Contents?: true
Size: 1.56 KB
Versions: 1
Compression:
Stored size: 1.56 KB
Contents
--- name: Tests 'on': push: branches: - master pull_request: branches: - master jobs: test_pg: runs-on: ubuntu-20.04 services: postgres: image: postgres:9.3 env: POSTGRES_PASSWORD: postgres options: "--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5" ports: - 5432:5432 strategy: fail-fast: false matrix: include: - ruby: 2.3.8 gemfile: Gemfile.5.1.pg - ruby: 2.4.6 gemfile: Gemfile.5.1.pg - ruby: 2.3.8 gemfile: Gemfile.5.2.pg - ruby: 2.4.6 gemfile: Gemfile.5.2.pg - ruby: 2.5.6 gemfile: Gemfile.5.2.pg - ruby: 2.5.6 gemfile: Gemfile.6.0.pg - ruby: 2.6.6 gemfile: Gemfile.6.0.pg - ruby: 2.7.2 gemfile: Gemfile.6.0.pg - ruby: 2.7.2 gemfile: Gemfile.6.1.pg - ruby: 3.0.0 gemfile: Gemfile.6.1.pg env: BUNDLE_GEMFILE: "${{ matrix.gemfile }}" steps: - uses: actions/checkout@v2 - name: Install ruby uses: ruby/setup-ruby@v1 with: ruby-version: "${{ matrix.ruby }}" - name: Setup database run: | sudo apt-get install -y postgresql-client PGPASSWORD=postgres psql -c 'create database rails_state_machine_test;' -U postgres -p 5432 -h localhost - name: Bundle run: | gem install bundler:2.1.4 bundle install --no-deployment - name: Run tests run: bundle exec rspec
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_state_machine-2.1.0 | .github/workflows/test.yml |