Skip to content

Commit

Permalink
add all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
genisplaja committed Nov 5, 2024
1 parent c127ffd commit 83c7a69
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/environment-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: mirdata-dev
name: compiam-dev
channels:
- conda-forge
- defaults
Expand Down Expand Up @@ -31,8 +31,12 @@ dependencies:
- libvorbis
# optional, but required for testing
- pytest>=7.4.3

- pip:
# Optional deps
- "tensorflow>=2.12.0"
- "tensorflow_addons"
- "torch==1.13.0"
- "essentia"
- "soundfile>=0.12.1"
- "opencv-python~=4.6.0"
- "mirdata==0.3.8"
Expand Down
20 changes: 18 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,22 @@ jobs:
conda info -a
conda list
- name: Run pytest
- name: Run basic tests
shell: bash -l {0}
run: pytest tests/
run: pytest tests/

- name: Run tensorflow tests
shell: bash -l {0}
run: pytest tests/ --tensorflow

- name: Run torch tests
shell: bash -l {0}
run: pytest tests/ --torch

- name: Run full ML tests
shell: bash -l {0}
run: pytest tests/ --full-ml

- name: Run all tests
shell: bash -l {0}
run: pytest tests/ --all

0 comments on commit 83c7a69

Please sign in to comment.