Skip to content

Commit

Permalink
ci: conda: clean
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Oct 24, 2023
1 parent 6d95c52 commit 3b43062
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/conda-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,11 @@ jobs:
id: cache

- name: Update conda environment with happypose dependencies
run:
mamba env update -n happypose -f environment.yml
run: mamba env update -n happypose -f environment.yml
if: steps.cache.outputs.cache-hit != 'true'

#- name: Install bop toolkit (temporal fix)
#run: |
#cd deps/bop_toolkit_challenge/
#sed 's/==.*$//' requirements.txt > req_nover.txt
#pip install -r req_nover.txt -e .
#if: steps.cache.outputs.cache-hit != 'true'

- name: Install happypose
run: |
cd happypose/pose_estimators/cosypose
pip install .
cd ../../..
pip install -e .
run: pip install -e .

- name: Download pre-trained models required for tests
run: |
Expand All @@ -78,9 +66,10 @@ jobs:
- name: Run tests
run: |
pip install pytest coverage
coverage run --source=happypose -m pytest tests
pip install coverage
coverage run --source=happypose -m unittest
coverage xml
- uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 3b43062

Please sign in to comment.