Skip to content

Commit

Permalink
update workflows - fix codecov token (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg authored Apr 27, 2024
1 parent 93f4fb4 commit af28622
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ jobs:

name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch}}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.version == 'nightly' }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
version:
- '1.6' # LTS (lowest supported `julia` version declared in `Project.toml`)
- '1' # latest stable
experimental:
- false
os: [ubuntu-latest, windows-latest, macos-latest]
arch: [x64, x86]
exclude:
Expand All @@ -37,18 +39,21 @@ jobs:
include:
- version: 'nightly'
os: ubuntu-latest
experimental: true

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-processcoverage@latest
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
file: lcov.info

Skip:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/cache@v1
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install JuliaFormatter and format
run: |
julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter"))'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/invalidations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-invalidations@v1
id: invs_pr

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: 'master'
- uses: julia-actions/julia-buildpkg@latest
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
[![CI](https://github.com/JuliaPlots/PlotUtils.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/JuliaPlots/PlotUtils.jl/actions/workflows/ci.yml)
[![project chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://julialang.zulipchat.com/#narrow/stream/236493-plots)
[![Coverage Status](https://codecov.io/gh/JuliaPlots/PlotUtils.jl/branch/master/graphs/badge.svg?branch=master)](https://app.codecov.io/gh/JuliaPlots/PlotUtils.jl)
[![PlotUtils Downloads](https://img.shields.io/badge/dynamic/json?url=http%3A%2F%2Fjuliapkgstats.com%2Fapi%2Fv1%2Fmonthly_downloads%2FPlotUtils&query=total_requests&suffix=%2Fmonth&label=Downloads)](https://juliapkgstats.com/pkg/PlotUtils)

0 comments on commit af28622

Please sign in to comment.