Skip to content

Add platforms input to build workflow #606

Add platforms input to build workflow

Add platforms input to build workflow #606

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
pull_request:
jobs:
# Run tests
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up tests
run: |
docker compose build
./bin/setup-dev.sh
- name: Run standardrb
run: docker compose run test bundle exec standardrb
- name: Run i18n-tasks health
run: docker compose run test bundle exec i18n-tasks health
- name: Run tests
run: docker compose run test
- name: Report to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
flag-name: unit
parallel: true
- name: Run rspec
run: docker compose run --rm test bundle exec rspec
- name: Report to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
flag-name: rspec
parallel: true
- name: Run system tests
run: docker compose run system-test
- name: Report to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
flag-name: integration
parallel: true
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
flag-name: integration
parallel-finished: true