Skip to content

Merge pull request #299 from hathitrust/DEV-1124 #6

Merge pull request #299 from hathitrust/DEV-1124

Merge pull request #299 from hathitrust/DEV-1124 #6

Workflow file for this run

name: Run Tests
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up tests
run: ./bin/setup/setup_test.sh
- name: Run standardrb
run: docker compose run --rm dev bundle exec standardrb
- name: Run tests
run: docker compose run --rm -e MONGOID_ENV=test dev bin/setup/wait-for mariadb:3306 pushgateway:9091 -- bundle exec rspec
- name: Report to Coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.github_token }}