Skip to content

Rewrite Search

Rewrite Search #716

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
container: registry.opensuse.org/opensuse/infrastructure/software.opensuse.org/containers/software/base:latest
steps:
- uses: actions/checkout@v4
- run: |
ls
cat /etc/os-release
linter:
needs: setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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