Skip to content

Debug CI failure

Debug CI failure #29

Workflow file for this run

name: CI
on:
push:
branches:
- 'master'
- 'release-'
- 'fe/debug-ci'
tags: ['*']
pull_request:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
version:
- '1.10'
os:
- ubuntu-latest
# - windows-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
- uses: julia-actions/cache@v2
- name: "Pkg.instantiate and install cli"
run: |
echo "${PWD}/bin" >> $GITHUB_PATH
julia --project -e 'using Pkg; Pkg.instantiate()'
julia --project -e 'using jlpkg; jlpkg.install(; command = "jlpkg-ci", destdir = joinpath(pwd(), "bin"))'
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true
- name: "Run tests (Unix)"
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
run: jlpkg-ci --project test --coverage
- name: "Run tests (Windows)"
if: matrix.os == 'windows-latest'
run: cmd /c jlpkg-ci --project test --coverage
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
with:
files: lcov.info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}