Skip to content

Commit

Permalink
Merge pull request #31 from psrenergy/rs/codecov
Browse files Browse the repository at this point in the history
Add codecov and update badges
  • Loading branch information
guilhermebodin authored Dec 31, 2024
2 parents 33a6a01 + 773d19f commit 91ea439
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 48 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI
on:
push:
branches:
- master
tags: ['*']
pull_request:
workflow_dispatch:
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.9'
- '1.10'
- '1.11'
os:
- ubuntu-latest
- windows-latest
arch:
- x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
39 changes: 0 additions & 39 deletions .github/workflows/ci.yml

This file was deleted.

12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
# Quiver.jl

[build-img]: https://github.com/psrenergy/Quiver.jl/actions/workflows/ci.yml/badge.svg?branch=master
[build-url]: https://github.com/psrenergy/Quiver.jl/actions?query=workflow%3ACI

[codecov-img]: https://codecov.io/gh/psrenergy/Quiver.jl/coverage.svg?branch=master
[codecov-url]: https://codecov.io/gh/psrenergy/Quiver.jl?branch=master

| **Build Status** | **Coverage** | **Documentation** |
|:-----------------:|:-----------------:|:-----------------:|
| [![Build Status][build-img]][build-url] | [![Codecov branch][codecov-img]][codecov-url] |[![](https://img.shields.io/badge/docs-latest-blue.svg)](https://psrenergy.github.io/Quiver.jl/dev/)
[![Documentation](https://img.shields.io/badge/docs-dev-blue.svg)](https://psrenergy.github.io/Quiver.jl/dev)
[![CI](https://github.com/psrenergy/Quiver.jl/actions/workflows/CI.yml/badge.svg)](https://github.com/psrenergy/Quiver.jl/actions/workflows/CI.yml)
[![codecov](https://codecov.io/gh/psrenergy/Quiver.jl/graph/badge.svg?token=RIZWL1OPRT)](https://codecov.io/gh/psrenergy/Quiver.jl)

Quiver is an alternative data-structure to represent time series data. It is designed for time series that can have extra dimensions such as scenarios, blocks, segments, etc.

Expand Down

0 comments on commit 91ea439

Please sign in to comment.