Skip to content

Commit

Permalink
Refactor CI workflow and add type hint for OutcomeError in stage_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
polischuks committed Feb 15, 2025
1 parent f25e8cb commit 7121c10
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,21 @@ jobs:
- os: arc-runners-small
python-version: "3.12"

# Windows
- os: windows-latest
python-version: "3.10.11"
- os: windows-latest
python-version: "3.11"
- os: windows-latest
python-version: "3.12"

# macOS (arm64)
- os: macos-14
python-version: "3.11"
- os: macos-14
python-version: "3.12"
# # Windows
# - os: windows-latest
# python-version: "3.10.11"
# - os: windows-latest
# python-version: "3.11"
# - os: windows-latest
# python-version: "3.12"
#
# # macOS (arm64)
# - os: macos-14
# python-version: "3.10"
# - os: macos-14
# python-version: "3.11"
# - os: macos-14
# python-version: "3.12"
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/actions/prepare
Expand Down
1 change: 1 addition & 0 deletions hstest/stage/stage_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def __print_test_num(self, num: int) -> None:
def run_tests(self, *, debug=False, is_unittest: bool = False) -> tuple[int, str]:
curr_test: int = 0
need_tear_down: bool = False
ex: OutcomeError = None
try:
if is_tests(self):
self.is_tests = True
Expand Down

0 comments on commit 7121c10

Please sign in to comment.