Sha256: 4fd5f0a967aa9c69573ccddbdd171abb581bfa61e51398c6a7c1c87c8ff7635c
Contents?: true
Size: 1.57 KB
Versions: 1
Compression:
Stored size: 1.57 KB
Contents
--- name: Tests on: pull_request: push: jobs: build: name: Tests with Ruby ${{ matrix.ruby }} with ${{ matrix.gemfile }} runs-on: "ubuntu-latest" strategy: fail-fast: false matrix: ruby: ["2.7", "3.0"] gemfile: - gemfiles/7_0.gemfile - gemfiles/6_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@v1 - uses: actions/cache@v2 with: path: vendor/bundle key: > ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles('**/attr_keyring.gemspec') }} restore-keys: > ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles('**/attr_keyring.gemspec') }} - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install PostgreSQL 11 client run: | sudo apt-get -yqq install libpq-dev - 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: | psql -U postgres -c "create database test" bundle exec rake
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
attr_keyring-0.6.1 | .github/workflows/tests.yml |