feat: text-to-od-sam2 tool #516
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: Unit Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
unit-tests: | |
name: unit tests | |
runs-on: ubuntu-gpu-runner | |
steps: | |
- name: Display block storage | |
run: sudo lsblk -l | |
- name: Display NVIDIA SMI details | |
run: | | |
nvidia-smi | |
nvidia-smi -L | |
nvidia-smi -q -d Memory | |
- uses: actions/checkout@v4 | |
- name: Set up Python version | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Run image | |
uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: "1.7.1" | |
- name: tests | |
run: | | |
poetry run pip install wheel | |
make install | |
make test |