Sha256: ac2badd39ec52c83069c5999892239b6df4672f17b1fa503a5bec51e78f0d0af
Contents?: true
Size: 1.79 KB
Versions: 1
Compression:
Stored size: 1.79 KB
Contents
name: Tests on: pull_request: branches: - main push: branches: - main schedule: - cron: "0 10 * * *" jobs: build: name: Tests with Ruby ${{ matrix.ruby }} and ${{ matrix.gemfile }} runs-on: "ubuntu-latest" strategy: fail-fast: false matrix: ruby: [2.6.x, 2.7.x] gemfile: - Gemfile - gemfiles/6_0.gemfile - gemfiles/5_2.gemfile - gemfiles/5_1.gemfile - gemfiles/5_0.gemfile services: postgres: image: postgres:11.5 ports: ["5432:5432"] options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - uses: actions/checkout@v2.3.4 - uses: actions/cache@v2 with: path: vendor/bundle key: > ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles(matrix.gemfile) }} restore-keys: > ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles(matrix.gemfile) }} - name: Set up Ruby uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install PostgreSQL client env: PGHOST: localhost PGUSER: postgres run: | sudo apt-get -yqq install libpq-dev psql -U postgres -c "create database test" - name: Install gem dependencies env: BUNDLE_GEMFILE: ${{ matrix.gemfile }} run: | gem install bundler bundle config path vendor/bundle bundle update --jobs 4 --retry 3 - name: Run Tests env: PGHOST: localhost PGUSER: postgres BUNDLE_GEMFILE: ${{ matrix.gemfile }} run: | bundle exec rake
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ar-sequence-0.2.0 | .github/workflows/tests.yml |