Skip to content

Commit

Permalink
Update workflow with Test on main and Test on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Cmurilochem committed Oct 18, 2024
1 parent fdb4362 commit eb5f8c4
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 81 deletions.
74 changes: 0 additions & 74 deletions .github/workflows/CI.yml

This file was deleted.

30 changes: 29 additions & 1 deletion .github/workflows/ReusableTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ on:

jobs:
test:
name: Julia ${{ inputs.version }} - ${{ inputs.os }} - ${{ inputs.arch }} - ${{ github.event_name }}
name: GalerkinToolkit / Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ inputs.os }}
continue-on-error: ${{ inputs.allow_failure }}

Expand All @@ -52,3 +52,31 @@ jobs:
with:
file: lcov.info
token: ${{ secrets.codecov_token }}
examples:
name: GalerkinToolkitExamples / Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ inputs.allow_failure }}

steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- run: |
julia --project=GalerkinToolkitExamples -e '
using Pkg
Pkg.develop(path=".")
Pkg.test("GalerkinToolkitExamples")'
all_tests:
name: All Tests and Examples
runs-on: ${{ matrix.os }}
needs: [test, examples]

steps:
- name: All test jobs have been successful
run: |
echo "All test jobs have been successful"
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# GalerkinToolkit

[![Stable Documentation](https://img.shields.io/badge/docs-stable-blue.svg)](https://GalerkinToolkit.github.io/GalerkinToolkit.jl/stable/)
[![Dev Documentation](https://img.shields.io/badge/docs-dev-blue.svg)](https://GalerkinToolkit.github.io/GalerkinToolkit.jl/dev/)
[![Build Status](https://github.com/GalerkinToolkit/GalerkinToolkit.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/GalerkinToolkit/GalerkinToolkit.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Test workflow status](https://github.com/GalerkinToolkit/GalerkinToolkit.jl/actions/workflows/Test.yml/badge.svg?branch=main)](https://github.com/GalerkinToolkit/GalerkinToolkit.jl/actions/workflows/Test.yml?query=branch%3Amain)
[![Lint workflow Status](https://github.com/GalerkinToolkit/GalerkinToolkit.jl/actions/workflows/Lint.yml/badge.svg?branch=main)](https://github.com/GalerkinToolkit/GalerkinToolkit.jl/actions/workflows/Lint.yml?query=branch%3Amain)
[![Docs workflow Status](https://github.com/GalerkinToolkit/GalerkinToolkit.jl/actions/workflows/Docs.yml/badge.svg?branch=main)](https://github.com/GalerkinToolkit/GalerkinToolkit.jl/actions/workflows/Docs.yml?query=branch%3Amain)
[![Stable Documentation](https://img.shields.io/badge/docs-stable-blue.svg)](https://GalerkinToolKit.github.io/GalerkinToolKit.jl/stable)
[![In development documentation](https://img.shields.io/badge/docs-dev-blue.svg)](https://GalerkinToolKit.github.io/GalerkinToolKit.jl/dev)
[![Build Status](https://github.com/GalerkinToolKit/GalerkinToolKit.jl/workflows/Test/badge.svg)](https://github.com/GalerkinToolKit/GalerkinToolKit.jl/actions)
[![Test workflow status](https://github.com/GalerkinToolKit/GalerkinToolKit.jl/actions/workflows/Test.yml/badge.svg?branch=main)](https://github.com/GalerkinToolKit/GalerkinToolKit.jl/actions/workflows/Test.yml?query=branch%3Amain)
[![Lint workflow Status](https://github.com/GalerkinToolKit/GalerkinToolKit.jl/actions/workflows/Lint.yml/badge.svg?branch=main)](https://github.com/GalerkinToolKit/GalerkinToolKit.jl/actions/workflows/Lint.yml?query=branch%3Amain)
[![Docs workflow Status](https://github.com/GalerkinToolKit/GalerkinToolKit.jl/actions/workflows/Docs.yml/badge.svg?branch=main)](https://github.com/GalerkinToolKit/GalerkinToolKit.jl/actions/workflows/Docs.yml?query=branch%3Amain)

[![Coverage](https://codecov.io/gh/GalerkinToolkit/GalerkinToolkit.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/GalerkinToolkit/GalerkinToolkit.jl)
[![DOI](https://zenodo.org/badge/497260571.svg)](https://doi.org/10.5281/zenodo.13938389)

Expand Down

0 comments on commit eb5f8c4

Please sign in to comment.