Revert "Update to DeltaDTM v1.1" #10
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: Tests | |
on: | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
Linting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- uses: pre-commit/[email protected] | |
Tests: | |
needs: Linting | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [3.12] | |
os: [ubuntu-latest] | |
env: [ci/envs/312-tests.yaml] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Micromamba | |
uses: mamba-org/setup-micromamba@v2 | |
with: | |
environment-file: ${{ matrix.env }} | |
- name: Install coastal dynamics as editable package | |
run: | | |
python -m pip install -e . | |
- name: Check and Log Environment | |
run: | | |
python -V | |
micromamba info | |
python -c "import coastpy; print(coastpy.__version__)" | |
# We currently do not have any tests yet | |
# - name: Test with pytest | |
# run: pytest |