Backend-Cloverage #31
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: Backend-Cloverage | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 10 * * 1-5' # every weekday at 5am US eastern time | |
jobs: | |
be-linter-cloverage: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 90 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare back-end environment | |
uses: ./.github/actions/prepare-backend | |
with: | |
m2-cache-key: "cloverage" | |
- name: Build static viz frontend | |
run: yarn build-static-viz | |
- name: Collect the test coverage | |
run: clojure -X:dev:ci:ee:ee-dev:test:cloverage | |
- name: Upload coverage to codecov.io | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./target/coverage/codecov.json | |
flags: back-end |