Skip to content

Commit

Permalink
Fiddle with CI a bit (#63)
Browse files Browse the repository at this point in the history
* Fiddle with CI a bit

Codecov didn't report a status in a recent PR even though their website
shows they received the coverage information. Codecov doesn't require a
token to be passed for public repositories but we're passing one anyway
so I'm deleting it and seeing what happens. While I'm touching that
file, I also simplified the artifact caching to use a Julia-specific
GitHub Action that handles all of that. Lastly, I deleted the Codecov
YAML file that just tells it not to comment. Comments are fine, who
cares.

* Try putting back the token? I gave it a real one

* Bump `codecov-action` to v3

* Stuff
  • Loading branch information
ararslan authored Nov 3, 2022
1 parent 92a6db8 commit 19e8549
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 40 deletions.
1 change: 0 additions & 1 deletion .codecov.yml

This file was deleted.

33 changes: 14 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
name: CI
on:
push:
paths-ignore:
- 'README.md'
branches:
- master
branches: [main]
tags: ["*"]
pull_request:
paths-ignore:
- 'README.md'
branches:
- master
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
Expand All @@ -31,20 +25,21 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
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 }}-
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-docdeploy@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
19 changes: 0 additions & 19 deletions .github/workflows/documenter.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# EDF.jl

[![CI](https://github.com/beacon-biosignals/EDF.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/beacon-biosignals/EDF.jl/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/beacon-biosignals/EDF.jl/branch/master/graph/badge.svg?token=E8vy5nZtJF)](https://codecov.io/gh/beacon-biosignals/EDF.jl)
[![codecov](https://codecov.io/gh/beacon-biosignals/EDF.jl/branch/main/graph/badge.svg?token=E8vy5nZtJF)](https://codecov.io/gh/beacon-biosignals/EDF.jl)
[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://beacon-biosignals.github.io/EDF.jl/stable)
[![](https://img.shields.io/badge/docs-dev-blue.svg)](https://beacon-biosignals.github.io/EDF.jl/dev)

Expand Down

0 comments on commit 19e8549

Please sign in to comment.