Skip to content

try to fix dependency to the unregistered Bcube.jl package in CI #4

try to fix dependency to the unregistered Bcube.jl package in CI

try to fix dependency to the unregistered Bcube.jl package in CI #4

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
types: [unlabeled, opened, synchronize, reopened]
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
version:
- '1.10'
os:
- ubuntu-latest
arch:
- x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
#- name: Install dependencies
# run: julia -e 'using Pkg; Pkg.develop([PackageSpec(url="https://github.com/bcube-project/Bcube.jl"), PackageSpec(path=pwd())]); Pkg.instantiate()'
#- uses: julia-actions/julia-buildpkg@latest
- name: Install dependencies and build
run: |

Check failure on line 47 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 47
julia --color=yes --project=. -e '
using Pkg
Pkg.add(url="https://github.com/bcube-project/Bcube.jl", rev="main");
Pkg.instantiate();
Pkg.precompile();'
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-processcoverage@v1
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: lcov.info