Merge pull request #132 from Discngine/issue-129 #112
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: C/C++ CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build-and-test-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: netcdf | |
run: sudo apt-get install libnetcdf-dev | |
- name: make | |
run: make fpocket | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.12 | |
- name: create conda environment | |
run: conda env update -f ./tests/environment.yml | |
- name : activate | |
run : | | |
eval "$(conda shell.bash hook)" | |
conda activate fpocket_test | |
pytest |