Skip to content

Commit

Permalink
Merge pull request #47 from psrenergy/rs/codecov
Browse files Browse the repository at this point in the history
Add codecov
  • Loading branch information
raphasampaio authored Dec 12, 2024
2 parents d30aa24 + 43f0b9c commit 996b676
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
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 }}
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# PSRContinuousDeployment.jl
# PSRContinuousDeployment.jl

[![CI](https://github.com/psrenergy/PSRContinuousDeployment.jl/actions/workflows/CI.yml/badge.svg)](https://github.com/psrenergy/PSRContinuousDeployment.jl/actions/workflows/CI.yml)
[![codecov](https://codecov.io/gh/psrenergy/PSRContinuousDeployment.jl/graph/badge.svg?token=L4P1AI32UH)](https://codecov.io/gh/psrenergy/PSRContinuousDeployment.jl)

0 comments on commit 996b676

Please sign in to comment.