Skip to content

implement CI

implement CI #7

Workflow file for this run

name: CI
on:
push:
branches:
- numpy_debug_v2
defaults:
run:
shell: bash -l {0}
jobs:
style:
runs-on: ubuntu-22.04
# container:
# image: dolfinx/dolfinx:stable
# options: --user 1001 --privileged
name: CI test
steps:
- name: run code
uses: actions/checkout@v2
# - name: run the file
# run: cd ./example && mpirun -n 1 python3 -u sfsi_toy_gaussian.py
- name: change directory and validate
run: |
cd ./example/testing_folder &&
output=$(python3 test_script.py) &&
if [[ "$output" == "0" ]]; then
exit 1
fi