MLJ Code Review #24
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: CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- master | |
tags: ['*'] | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- '1.9' | |
- '~1.10.0-0' # Next version including pre-releases | |
os: | |
- ubuntu-latest | |
arch: | |
- x64 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Julia | |
uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- name: Use cache | |
uses: julia-actions/cache@v1 | |
- name: Build package | |
uses: julia-actions/julia-buildpkg@v1 | |
- name: Run tests | |
uses: julia-actions/julia-runtest@v1 | |
- name: Process code coverage | |
uses: julia-actions/julia-processcoverage@v1 | |
with: | |
directories: src/KNNDTW,src/MiniRocket | |
- name: Upload code coverage | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
files: lcov.info |