Skip to content

chore: do not trigger documentation workflow on PR #162

chore: do not trigger documentation workflow on PR

chore: do not trigger documentation workflow on PR #162

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
permissions:
actions: write
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Julia
uses: julia-actions/setup-julia@v2
- name: Cache Julia packages
uses: julia-actions/cache@v2
- name: Install dependencies
run: |
julia --project=. -e 'using Pkg;
Pkg.add(PackageSpec(url="https://github.com/TheDisorderedOrganization/Arianna.git"));
Pkg.instantiate()'
- name: Run tests with coverage
run: |
julia --project=. -e 'using Pkg;
Pkg.test(coverage=true)'
- name: Process coverage
uses: julia-actions/julia-processcoverage@v1
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}