Unit tests #1021
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: Unit tests | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 2 1 * *' | |
jobs: | |
unittest: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
julia-version: ['1.4', '1', 'nightly'] | |
steps: | |
- name: Environment setup | |
uses: actions/checkout@v4 | |
- name: Julia setup | |
uses: julia-actions/setup-julia@latest | |
with: | |
version: ${{ matrix.julia-version }} | |
- name: Julia cache | |
uses: julia-actions/cache@v1 | |
- name: Build package | |
uses: julia-actions/julia-buildpkg@latest | |
- name: Run tests | |
uses: julia-actions/julia-runtest@latest | |
- name: Process coverage | |
uses: julia-actions/julia-processcoverage@latest | |
- name: Post coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
files: lcov.info | |
token: ${{ secrets.CODECOV_TOKEN }} |