Skip to content

Rewrite Search

Rewrite Search #715

Workflow file for this run

name: Test Suite
on:
push:
branches: [ master ]
pull_request:
branches: [ master, staging ]
workflow_dispatch:
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
sed "s/1000/`id -u`/" docker-compose.override.yml.example > docker-compose.override.yml
docker-compose build --pull
linter:
needs: setup
runs-on: ubuntu-latest
steps:
- name: Run linter
run: docker-compose run --rm software bundle exec rubocop
haml-linter:
needs: setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run linter
run: docker-compose run --rm software bundle exec haml-lint app/views/
unit:
needs: [linter, haml-linter]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run unit tests
run: docker-compose run --rm software bundle exec rake test
system:
needs: [linter, haml-linter]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run system tests
run: docker-compose run --rm software bundle exec rake test:system