Skip to content

Merge pull request #119 from hathitrust/action-updates #4

Merge pull request #119 from hathitrust/action-updates

Merge pull request #119 from hathitrust/action-updates #4

Workflow file for this run

name: Run Tests
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up tests
run: |
docker compose build
docker compose run --rm test bundle install
- name: make coverage directory
run: mkdir -m 777 coverage
# we need to set some timestamps on these files during the tests
- name: make fixtures writable
run: chmod -R 777 spec/integration/src
- name: Run standardrb
run: docker compose run --rm test bundle exec standardrb
- name: Run tests
run: docker compose run --rm test
- name: Report to Coveralls
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.github_token }}