Skip to content

Commit

Permalink
[FIX CONTINUOUS INTEGRATION]
Browse files Browse the repository at this point in the history
  • Loading branch information
LucianaMartins26 committed Nov 11, 2024
1 parent e10b132 commit 5b2806b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
- '3.10'
- 3.11
- 3.12
env:
CI: "true"

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 3 additions & 2 deletions tests/integration_tests/test_dfa.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

class TestDFA(TestCase):

@unittest.skip("Skipping this test in CI")
def setUp(self) -> None:
self.model_id = 'MODEL1507180028'
self.dataset_id = 'DielModel'
Expand All @@ -25,7 +26,7 @@ def setUp(self) -> None:
'results_troppo', self.dataset_id,
'reconstructed_models', 'Diel_Model.xml'))

@unittest.skip
@unittest.skip("Skipping this test in CI")
def test_sampling(self) -> None:
day_sampling, night_sampling = self.dfa.sampling(thinning=100, n_samples=1000)

Expand Down Expand Up @@ -60,7 +61,7 @@ def test_sampling(self) -> None:
expected_file = os.path.join(self.results_folder, '%s_sampling.csv' % modelname)
self.assertTrue(os.path.exists(expected_file))

@unittest.skip
@unittest.skip("Skipping this test in CI")
def test_ktest(self) -> None:

self.dfa.sampling()
Expand Down
4 changes: 2 additions & 2 deletions tests/integration_tests/test_dfa_tomato.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def setUp(self) -> None:
self.dataset_id, 'reconstructed_models',
'Tomato_Diel_Model.xml'))

@unittest.skip
@unittest.skip("Skipping this test in CI")
def test_sampling(self) -> None:
day_sampling, night_sampling = self.dfa.sampling(thinning=100, n_samples=1000)

Expand Down Expand Up @@ -59,7 +59,7 @@ def test_sampling(self) -> None:
expected_file = os.path.join(self.results_folder, '%s_sampling.csv' % modelname)
self.assertTrue(os.path.exists(expected_file))

@unittest.skip
@unittest.skip("Skipping this test in CI")
def test_ktest(self) -> None:

self.dfa.sampling()
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
[tox]
minversion = 3.8.0
envlist = py38, py39, py310
envlist = py38, py39, py310, py311, py312
isolated_build = true

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
setenv =
PYTHONPATH = {toxinidir}/src
CI = {env:CI,true}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_dev.txt
Expand Down

0 comments on commit 5b2806b

Please sign in to comment.