Skip to content

Commit

Permalink
fix tests again, remove macos
Browse files Browse the repository at this point in the history
  • Loading branch information
genisplaja committed Nov 6, 2024
1 parent 893e10e commit 98efd98
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 59 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
channel-priority: "strict"
envfile: ".github/environment-ci.yml"

### NOTE: Coming soon when jams in mirdata is updated or removed
#- os: ubuntu-latest
# python-version: "3.12"
# channel-priority: "strict"
Expand All @@ -46,11 +47,6 @@ jobs:
# channel-priority: "strict"
# envfile: ".github/environment-ci.yml"

- os: macos-latest
python-version: "3.10"
channel-priority: "strict"
envfile: ".github/environment-ci.yml"

steps:
- uses: actions/checkout@v3
with:
Expand Down
12 changes: 0 additions & 12 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"tensorflow",
"torch",
"essentia",
"essentia_tensorflow",
"essentia_torch",
"full_ml",
"all",
]
Expand Down Expand Up @@ -36,16 +34,6 @@ def skip_essentia(request):
return request.config.getoption("--essentia")


@pytest.fixture(scope="session")
def skip_essentia_tensorflow(request):
return request.config.getoption("--essentia_tensorflow")


@pytest.fixture(scope="session")
def skip_essentia_torch(request):
return request.config.getoption("--essentia_torch")


@pytest.fixture(scope="session")
def skip_full_ml(request):
return request.config.getoption("--full_ml")
Expand Down
10 changes: 0 additions & 10 deletions tests/melody/test_essentia_extractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,6 @@ def test_ess_extractors_ess():
_predict_normalized_pitch()


@pytest.mark.essentia_tensorflow
def test_ess_extractors_ess_tf():
_predict_normalized_pitch()


@pytest.mark.essentia_torch
def test_ess_extractors_ess_torch():
_predict_normalized_pitch()


@pytest.mark.all
def test_ess_extractors_ess_all():
_predict_normalized_pitch()
6 changes: 0 additions & 6 deletions tests/melody/test_ftanet.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,6 @@ def test_predict_tf():
_predict_pitch()


@pytest.mark.essentia_tensorflow
def test_predict_ess_tf():
_predict_pitch()
_predict_normalized_pitch()


@pytest.mark.full_ml
def test_predict_full():
_predict_pitch()
Expand Down
6 changes: 0 additions & 6 deletions tests/melody/test_ftaresnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,6 @@ def test_predict_torch():
_predict_pitch()


@pytest.mark.essentia_torch
def test_predict_ess_torch():
_predict_pitch()
_predict_normalized_pitch()


@pytest.mark.full_ml
def test_predict_full():
_predict_pitch()
Expand Down
5 changes: 0 additions & 5 deletions tests/separation/test_cold_diff_sep.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ def test_predict_tf():
_separate()


@pytest.mark.essentia_tensorflow
def test_predict_ess_tf():
_separate()


@pytest.mark.full_ml
def test_predict_full():
_separate()
Expand Down
5 changes: 0 additions & 5 deletions tests/structure/test_dhrupad_segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ def test_predict_tf():
_test_model()


@pytest.mark.essentia_torch
def test_predict_ess_tf():
_test_model()


@pytest.mark.full_ml
def test_predict_full():
_test_model()
Expand Down
10 changes: 0 additions & 10 deletions tests/timbre/test_mridangam_stroke_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,6 @@ def test_strokes_ess():
_predict_strokes()


@pytest.mark.essentia_tensorflow
def test_strokes_ess_tf():
_predict_strokes()


@pytest.mark.essentia_torch
def test_strokes_ess_torch():
_predict_strokes()


@pytest.mark.all
def test_strokes_ess_all():
_predict_strokes()

0 comments on commit 98efd98

Please sign in to comment.