Skip to content

Add dependencies separately #9

Add dependencies separately

Add dependencies separately #9

Workflow file for this run

name: CI
on:
push:
branches: ['master']
tags: ['*']
pull_request:
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 }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version: ['1.6', '1', 'nightly']
os: ['ubuntu-latest']
arch: ['x64', 'x86']
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: Add dependencies
run:
- julia --project -e 'import Pkg;

Check failure on line 30 in .github/workflows/CI.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/CI.yml (Line: 30, Col: 11): A sequence was not expected

Check failure on line 30 in .github/workflows/CI.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/CI.yml (Line: 30, Col: 11): A sequence was not expected
Pkg.develop(url = "https://github.com/emmt/FITSHeaders.jl");'
- julia --project -e 'import Pkg;
Pkg.develop(url = "https://github.com/emmt/EasyFITS.jl");'
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
continue-on-error: ${{ matrix.version == 'nightly' }}
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
with:
files: lcov.info
fail_ci_if_error: false
if: ${{ matrix.os =='ubuntu-latest' }}