Skip to content

Add enough Ruby plumbing to run tests as part of GitHub test suite #74

Add enough Ruby plumbing to run tests as part of GitHub test suite

Add enough Ruby plumbing to run tests as part of GitHub test suite #74

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
pull_request:
jobs:
# Run tests
test:

Check failure on line 12 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up tests
run: |
docker compose build
- name: Run tests
run: docker compose run test bin/test_and_cover.sh
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
- name: Run Ruby standardrb
run: docker compose run --rm test bundle exec standardrb
- name: Run Ruby tests
run: docker compose run --rm test bundle exec rspec