diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..733bab8 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,39 @@ +name: CI +on: + - push + - pull_request +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + version: + - '1.4' + - '1.5' + - 'nightly' + os: + - ubuntu-latest + - macOS-latest + - windows-latest + arch: + - x64 + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + 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/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 diff --git a/Project.toml b/Project.toml index c634452..ccc8223 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ElectromagneticFields" uuid = "d6c1ba6f-ee03-53af-b876-68cefeb88ec8" authors = ["Michael Kraus "] -version = "0.5.0" +version = "0.5.1" [deps] Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" diff --git a/README.md b/README.md index 8a13855..ad14fca 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,12 @@ *Common Interface for Electromagnetic Fields* -[![Documentation](https://img.shields.io/badge/docs-stable-blue.svg)](https://ddmgni.github.io/ElectromagneticFields.jl/stable/) -[![Documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://ddmgni.github.io/ElectromagneticFields.jl/latest/) +[![Documentation](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliaplasma.github.io/ElectromagneticFields.jl/stable/) +[![Documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://juliaplasma.github.io/ElectromagneticFields.jl/latest/) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.md) -[![Build Status](https://travis-ci.org/DDMGNI/ElectromagneticFields.jl.svg?branch=master)](https://travis-ci.org/DDMGNI/ElectromagneticFields.jl) -[![Coverage Status](https://coveralls.io/repos/github/DDMGNI/ElectromagneticFields.jl/badge.svg)](https://coveralls.io/github/DDMGNI/ElectromagneticFields.jl) -[![codecov](https://codecov.io/gh/DDMGNI/ElectromagneticFields.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/DDMGNI/ElectromagneticFields.jl) +[![PkgEval Status](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/E/ElectromagneticFields.svg)](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/E/ElectromagneticFields.html) +![CI](https://github.com/JuliaPlasma/ElectromagneticFields.jl/workflows/CI/badge.svg) +[![codecov](https://codecov.io/gh/JuliaPlasma/ElectromagneticFields.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaPlasma/ElectromagneticFields.jl) [![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.3662494.svg)](https://doi.org/10.5281/zenodo.3662494) ElectromagneticFields.jl provides a common interface for evaluating analytical and numerical magnetic equilibria, general electromagnetic fields and in the future also simple Maxwell solvers. diff --git a/docs/src/index.md b/docs/src/index.md index 2f05854..a9ff0be 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -2,6 +2,12 @@ *Common Interface for Electromagnetic Fields* +[![PkgEval Status](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/E/ElectromagneticFields.svg)](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/E/ElectromagneticFields.html) +![CI](https://github.com/JuliaPlasma/ElectromagneticFields.jl/workflows/CI/badge.svg) +[![Build Status](https://travis-ci.org/JuliaPlasma/ElectromagneticFields.jl.svg?branch=master)](https://travis-ci.org/JuliaPlasma/ElectromagneticFields.jl) +[![Coverage Status](https://coveralls.io/repos/github/JuliaPlasma/ElectromagneticFields.jl/badge.svg)](https://coveralls.io/github/JuliaPlasma/ElectromagneticFields.jl) +[![codecov](https://codecov.io/gh/JuliaPlasma/ElectromagneticFields.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaPlasma/ElectromagneticFields.jl) +[![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.3662494.svg)](https://doi.org/10.5281/zenodo.3662494) ## References