Merge pull request #190 from hathitrust/DEV-1245_rsync_part_deux #103
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: | |
- name: Check out including private submodules | |
uses: actions/checkout@v4 | |
with: | |
# This should be a PAT that has read access to the private submodules | |
# for this repository | |
token: ${{ secrets.ACCESS_TOKEN }} | |
submodules: true | |
- name: Build docker image | |
run: docker compose build | |
- name: Run tests | |
run: docker compose run test scripts/test_and_cover.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.github_token }} |