Land mass #67
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: sanitizer | |
on: | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
sanitizer: | |
name: Run address-sanitizer on macOS | |
runs-on: macos-13 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
id: setup_python | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
activate-environment: vplanet | |
environment-file: environment.yml | |
python-version: 3.9 | |
- name: Run sanitizer | |
if: steps.setup_python.outcome == 'success' | |
shell: bash -l {0} | |
run: | | |
make sanitize | |
cd tests/ | |
python sanitizer.py |