Skip to content

Update ci.yml

Update ci.yml #69

Workflow file for this run

name: CI
on:
push:
branches: [ "add-tests-only" ]
pull_request:
branches: [ "add-tests-only" ]
workflow_dispatch:
jobs:
build:
# Use a matrix to run on multiple OS versions
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Julia
uses: julia-actions/setup-julia@v1
with:
version: '1.6'
- name: Install dependencies
run: julia -e 'using Pkg; Pkg.instantiate();'
- name: Run tests
run: julia -e 'using Pkg; Pkg.test(coverage=true);'
- name: Upload to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}