refactor: rename "tabulation_method" in libDelhommeau (#503) #1
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: Build and test in fixed environments | |
on: | |
push: | |
branches: | |
- 'master' | |
paths-ignore: | |
# Do not run if only the documentation has been changed | |
- 'docs/**' | |
- '**/*.md' | |
pull_request: | |
paths-ignore: | |
# Do not run if only the documentation has been changed | |
- 'docs/**' | |
- '**/*.md' | |
env: | |
FORCE_COLOR: 3 | |
# Colors for nox | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.8', '3.12'] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up nox | |
uses: wntrblm/[email protected] | |
- name: Run nox session | |
run: nox -s build_and_test_on_locked_env | |
compile_fortran: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Fortran | |
uses: fortran-lang/setup-fortran@v1 | |
with: | |
compiler: 'gcc' | |
version: '13' | |
- name: Compile and run example | |
working-directory: capytaine/green_functions/libDelhommeau/ | |
run: make example && examples/minimal/minimal_example.bin | |
# Soundness of the results is not tested, only that the compiling and | |
# execution are succeeding. |