Merge pull request #62 from hathitrust/hfdb_verifier_debug #224
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
# Run tests | |
test: | |
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 |