Fixed to the phase-field model #255
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TESTS | |
on: [ push, pull_request ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
test: | |
- solid | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install dependencies | |
uses: ./.github/actions/install | |
with: | |
essentials: true | |
r: false | |
rdep: false | |
cuda: false | |
hip: false | |
openmpi: false | |
lcov: true | |
- name: Compile | |
shell: bash | |
run: | | |
cd tests/${{ matrix.test }} | |
make ADD_FLAGS="-fprofile-arcs -ftest-coverage" | |
- name: Run | |
shell: bash | |
run: | | |
cd tests/${{ matrix.test }} | |
make run | |
- name: Gather coverage data | |
uses: ./.github/actions/coverage | |
id: coverage | |
- name: Send coverage data | |
uses: codecov/codecov-action@v3 | |
if: steps.coverage.outputs.reports != '' | |
with: | |
files: ${{ steps.coverage.outputs.reports }} | |
flags: ${{ matrix.model }} |