Refactor vis_clip console progress update #102
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: Setup and Test - Pixi | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: Build Hot3D on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
working-directory: ./hot3d # default folder for all "run:" commands | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name : Setup repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name : Setup pixi | |
uses: prefix-dev/[email protected] | |
with: | |
pixi-version: v0.23.0 | |
run-install: false | |
- name: Python - Prepare environment | |
shell: bash | |
run: | | |
# prepare pixi environment | |
pixi install | |
- name: Python - Unit test | |
shell: pixi run bash {0} | |
run: | | |
export TEST_FOLDER="./data_loaders/tests/" | |
# Run all unit test in this folder | |
find data_loaders/tests -type f -name "*.py" -exec python3 -m unittest {} \; | |
- name : Python - Test dataset viewer | |
shell: pixi run bash {0} | |
run: | | |
rerun analytics disable | |
# TODO add viewer running functional test |