Fix absence of advection in example #40
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: Build and test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build-linux: | |
name: Miniconda ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["ubuntu-latest"] | |
python-version: ["3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: "pylag_test" | |
auto-activate-base: false | |
channels: conda-forge | |
auto-update-conda: true | |
environment-file: environment.yml | |
python-version: ${{ matrix.python-version }} | |
- name: Show conda env | |
shell: bash -l {0} | |
run: | | |
conda info | |
conda list | |
- name: Install package | |
shell: bash -l {0} | |
run: | | |
python -m pip install -e . | |
# - name: Lint | |
# shell: bash -l {0} | |
# run: | | |
# conda install flake8 | |
# python -m flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | |
# python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | |
- name: Run pytest | |
shell: bash -l {0} | |
run: | | |
conda install pytest | |
python -m pytest -v |