Sha256: 7de4074228d65485ac508ee3a5daff82ef4376177226ae6c3923115f6d4108ff
Contents?: true
Size: 1.39 KB
Versions: 5
Compression:
Stored size: 1.39 KB
Contents
name: Continuous Integration on: [push, pull_request] jobs: build: name: Build runs-on: ubuntu-latest env: HANAMI_ENV: test DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres services: postgres: image: postgres:latest env: POSTGRES_PASSWORD: postgres ports: - 5432:5432 options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - name: Chromium Setup uses: nanasess/setup-chromedriver@v2 - name: Chromium Start run: | export DISPLAY=:99 chromedriver --url-base=/wd/hub & - name: Checkout uses: actions/checkout@v4 - name: Ruby Setup uses: ruby/setup-ruby@v1 with: bundler-cache: true - name: Node Setup uses: actions/setup-node@v2 with: cache: npm - name: Packages Install run: npm install - name: Database Setup run: | bin/hanami db create bin/hanami db migrate - name: Build run: | bin/hanami assets compile bundle exec rake <% if configuration.build_simple_cov %> - name: SimpleCov Archive uses: actions/upload-artifact@v4 with: name: coverage path: coverage <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems