Add notebooks, tests, and environment setup with improved project metadata for refactor initial release #936
Workflow file for this run
This file contains hidden or 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: [push, pull_request] | |
| jobs: | |
| run-tests: | |
| runs-on: ubuntu-22.04 | |
| defaults: | |
| run: | |
| shell: bash -el {0} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4.1.2 | |
| - name: Setup conda with mamba | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| mamba-version: "*" | |
| python-version: 3.10 | |
| auto-activate-base: false | |
| activate-environment: geo_deep_env | |
| - name: Install pip requirements | |
| run: pip install -r requirements.txt | |
| - name: Run tests with pytest | |
| run: pytest tests/ |