Sha256: cf38b23f445feaa5189ff8915dbdf9400c8c03a209306b6ec54d4cabf82348b2
Contents?: true
Size: 1.7 KB
Versions: 1
Compression:
Stored size: 1.7 KB
Contents
name: Ruby on: [push,pull_request] jobs: rubocop: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 3.0.2 bundler-cache: true - name: Rubocop run: bin/rubocop rspec: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 3.0.2 bundler-cache: true - name: RSpec run: bin/rspec integration: runs-on: ubuntu-latest services: postgres: image: postgres:13 ports: - 5432:5432 env: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: generalis_integration_test options: --health-cmd pg_isready --health-interval 5s --health-timeout 5s --health-retries 10 steps: - uses: actions/checkout@v2 - name: Install Native Dependencies run: sudo apt-get install libpq-dev - name: Set up Ruby (Integration) uses: ruby/setup-ruby@v1 with: ruby-version: 3.0.2 bundler-cache: true working-directory: integration - name: Setup Test Database working-directory: integration run: | bin/rails db:create db:schema:load env: RAILS_ENV: test PGHOST: localhost PGUSER: postgres PGPASSWORD: postgres - name: RSpec (Integration) working-directory: integration run: bin/rspec env: RAILS_ENV: test PGHOST: localhost PGUSER: postgres PGPASSWORD: postgres
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
generalis-0.1.0 | .github/workflows/main.yml |