Skip to content

Commit f5844f3

Browse files
authored
Fixes multiple issues with dependencies (#2241)
* "Fix" * bump version * (wip) * (wip) * add regresion test ( will fail ) * Add readme * Add readme * Missing file not added * readme crashing the test * adding doc tests * adding doc tests * improve output * Automatic tests working, some failing as expected * Better test * improve test * add more test cases * Lint + rollback to 4.1.10 * Lint + rollback to 4.1.10 * re-added the fix for monarch with tests passing * added script to anon a configuration * Auto keyword readded * added more tests cases * Moved unused regression tests to another folder Normalized the new regression test * Trying to add regression into the git actions * Trying to add regression into the git actions * using absolute paths * using absolute paths * changelog * Modify readme * Modify readme * Modify readme * Added a flag to add new tests * Added a flag to add new tests * lint * typo
1 parent 53b2a14 commit f5844f3

File tree

194 files changed

+5173
-2550
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+5173
-2550
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@ jobs:
7575
test/integration \
7676
-m ''
7777
78+
# Run regression tests
79+
- name: Regression tests
80+
run: |
81+
pytest \
82+
--cov=autosubmit --cov-config=.coveragerc \
83+
--cov-report=xml:test/coverage.xml --cov-append \
84+
test/regression \
85+
-m ''
86+
7887
- name: Coverage report
7988
run: |
8089
coverage xml

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### 4.1.13: Dependencies bug fixes, regression tests
2+
3+
- Fixed issues with dependencies not being correctly set or not being pruned. [#2184](https://github.com/BSC-ES/autosubmit/issues/2184) [PR](https://github.com/BSC-ES/autosubmit/pull/2241)
4+
- Added dependencies regression test [PR](https://github.com/BSC-ES/autosubmit/pull/2241)
5+
16
### 4.1.12: Logs, Memory, DB fixes. Enhancements, new features, and overall bug fixes.
27

38
**Mem fixes:** [PR](https://github.com/BSC-ES/autosubmit/pull/2130)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.1.12
1+
4.1.13

autosubmit/autosubmit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4648,7 +4648,7 @@ def detail(job_list):
46484648
current_length) + " jobs.")
46494649
else:
46504650
Log.info(job_list.print_with_status())
4651-
Log.status(job_list.print_with_status())
4651+
Log.status(job_list.print_with_status(nocolor=True))
46524652

46534653

46544654
@staticmethod

autosubmit/job/job_list.py

Lines changed: 184 additions & 186 deletions
Large diffs are not rendered by default.

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[pytest]
22
addopts =
3-
--verbose --ignore=regression
3+
--verbose
44
--strict-markers
55
--doctest-modules
66
-n auto --max-worker-restart 0 --dist loadgroup

test/regression/4.0_multi_testb.txt

Lines changed: 0 additions & 1014 deletions
This file was deleted.

test/regression/README

Lines changed: 0 additions & 81 deletions
This file was deleted.

test/regression/db/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

test/regression/default_conf/platforms.conf

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)