Skip to content

Commit

Permalink
add code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
thchr committed Feb 16, 2022
1 parent 25fd52d commit 1ba30fa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ jobs:
- 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@v1
with:
file: lcov.info
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GellMannMatrices

[![Build Status](https://github.com/thchr/GellMannMatrices.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/thchr/GellMannMatrices.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Build status][ci-status-img]][ci-status-url] [![Coverage][coverage-img]][coverage-url]

A Julia package to compute the [generalized Gell-Mann matrices](https://en.wikipedia.org/wiki/Generalizations_of_Pauli_matrices#Generalized_Gell-Mann_matrices_(Hermitian)) in `d` dimensions.

Expand All @@ -24,4 +24,9 @@ julia> gellmann(3) # Standard Gell-Mann matrices
[0.0 + 0.0im 0.0 - 1.0im 0.0 + 0.0im; 0.0 + 1.0im 0.0 + 0.0im 0.0 + 0.0im; 0.0 + 0.0im 0.0 + 0.0im 0.0 + 0.0im]
[...]
```
A keyword argument `skip_identity` (default, `true`) can be toggled to `false` to include the identity matrix.
A keyword argument `skip_identity` (default, `true`) can be toggled to `false` to include the identity matrix.

[ci-status-img]: https://github.com/thchr/GellMannMatrices.jl/actions/workflows/CI.yml/badge.svg?branch=main
[ci-status-url]: https://github.com/thchr/GellMannMatrices.jl/actions/workflows/CI.yml?query=branch%3Amain
[coverage-img]: https://codecov.io/gh/thchr/GellMannMatrices.jl/branch/master/graph/badge.svg
[coverage-url]: https://codecov.io/gh/thchr/GellMannMatrices.jl

2 comments on commit 1ba30fa

@thchr
Copy link
Owner Author

@thchr thchr commented on 1ba30fa Feb 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/54785

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" 1ba30fa3712b8913d756d931b2e765eddf76655e
git push origin v0.1.0

Please sign in to comment.