DEV-1086 - monthly reports #19
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: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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@v2 | |
with: | |
github-token: ${{ secrets.github_token }} | |