Refactor SegmentationDOFA to enable encoder freezing and improve trai… #871
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: [push, pull_request] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
shell: bash -el {0} | |
steps: | |
- name: checkout repository | |
uses: actions/[email protected] | |
- name: create environment | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
mamba-version: "*" | |
activate-environment: geo_deep_env | |
environment-file: environment.yml | |
- name: test with pytest | |
run: | | |
pytest tests/ |