Skip to content

Fix backtracking bug using FVCOM data #54

Fix backtracking bug using FVCOM data

Fix backtracking bug using FVCOM data #54

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.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