Skip to content

Commit 6e7747f

Browse files
committed
Skip tests for now
Signed-off-by: Claudio Spiess <[email protected]>
1 parent c01605f commit 6e7747f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/test_optimizer.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from pathlib import Path
22
from pprint import pprint
33

4+
import pytest
45
from datasets import Dataset, DatasetDict
5-
from pytest import skip
66

77
from pdl.optimize.config_parser import OptimizationConfig
88
from pdl.optimize.fever_evaluator import FEVEREvaluator
@@ -751,35 +751,41 @@ def run_optimizer_mbpp(pattern, num_demonstrations=0):
751751
pprint(result)
752752

753753

754-
@skip("API access not available in CI")
754+
@pytest.mark.skip("API access not available in CI")
755755
def test_gsm8k_zeroshot_cot():
756756
run_optimizer_gsm8k("cot")
757757

758758

759-
@skip("API access not available in CI")
759+
@pytest.mark.skip("API access not available in CI")
760760
def test_gsm8k_fiveshot_react():
761761
run_optimizer_gsm8k("react", num_demonstrations=5)
762762

763763

764+
@pytest.mark.skip("API access not available in CI")
764765
def test_gsm8k_fiveshot_rewoo():
765766
run_optimizer_gsm8k("rewoo", num_demonstrations=5)
766767

767768

769+
@pytest.mark.skip("API access not available in CI")
768770
def test_fever_zeroshot_cot():
769771
run_optimizer_fever("cot")
770772

771773

774+
@pytest.mark.skip("API access not available in CI")
772775
def test_fever_fiveshot_react():
773776
run_optimizer_fever("react", num_demonstrations=5)
774777

775778

779+
@pytest.mark.skip("API access not available in CI")
776780
def test_fever_zeroshot_rewoo():
777781
run_optimizer_fever("rewoo")
778782

779783

784+
@pytest.mark.skip("API access not available in CI")
780785
def test_mbpp_zeroshot_cot():
781786
run_optimizer_mbpp("cot")
782787

783788

789+
@pytest.mark.skip("API access not available in CI")
784790
def test_mbpp_zeroshot_react():
785791
run_optimizer_mbpp("react")

0 commit comments

Comments
 (0)