Skip to content

Commit

Permalink
hopaas tests marked as xfail
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbetti committed Jun 14, 2024
1 parent c84b37a commit 13a2b4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
env:
HOPAAS_TOKEN: ${{ secrets.HOPAAS_TOKEN }}
run: |
python tests/config/config.py --no-interactive -s "http://hopaas.cloud.infn.it:11756" -t "$HOPAAS_TOKEN"
python tests/config/config.py --no-interactive -t "$HOPAAS_TOKEN"
pytest --cov tests/
- name: Upload coverage to Codecov
Expand Down
2 changes: 2 additions & 0 deletions tests/optimization/callbacks/test_HopaasPruner.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def callback():
###########################################################################


@pytest.mark.xfail
def test_callback_configuration(callback):
from pidgan.optimization.callbacks import HopaasPruner

Expand All @@ -63,6 +64,7 @@ def test_callback_configuration(callback):
assert isinstance(callback.enable_pruning, bool)


@pytest.mark.xfail
@pytest.mark.parametrize("enable_pruning", [False, True])
def test_callback_use(enable_pruning):
study = hpc.Study(
Expand Down

0 comments on commit 13a2b4f

Please sign in to comment.