Skip to content

Commit

Permalink
CI libs update, failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DraTeots committed Jun 27, 2024
1 parent f4573ce commit 762827c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=5

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.8' # Choose the Python version as per your requirement
python-version: 3.9

- name: Install Python dependencies
run: |
Expand Down
3 changes: 2 additions & 1 deletion python/run_unit_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ def run_unit_tests():
script_dir = os.path.dirname(os.path.abspath(__file__))
unit_test_dir = os.path.join(script_dir, "tests")
os.chdir(unit_test_dir)
run_unit_tests()
result = run_unit_tests()
exit(len(result.failures))
4 changes: 2 additions & 2 deletions python/tests/integ_test_cli_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ def test_cat_user_set_variation(self):
# Test DB has a test data assignment for:
# variation: test
# runs: 500-2000
# it has data: [[4,6,8],[10,12,13]]
# it has data: 1.0|2.0|3.0|4.0|5.0|6.0
self.cli.context.current_variation = "test"
self.cli.context.current_run = 600
self.cli.process_command_line("cat /test/test_vars/test_table")
self.assertIn("13", self.output.getvalue())
self.assertIn("6.1", self.output.getvalue())


def test_cat_not_abs_path(self):
Expand Down

0 comments on commit 762827c

Please sign in to comment.