Skip to content

Commit

Permalink
Change type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
jayqi committed Feb 9, 2025
1 parent 595a1ae commit 68c5c27
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ jobs:
# token: ${{ secrets.CODECOV_TOKEN }}
# if: ${{ matrix.os == 'ubuntu-latest' }}

notify:
name: Notify failed build
needs: [code-quality, tests]
if: failure() && github.event.pull_request == null
runs-on: ubuntu-latest
steps:
- uses: jayqi/failed-build-issue-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# notify:
# name: Notify failed build
# needs: [code-quality, tests]
# if: failure() && github.event.pull_request == null
# runs-on: ubuntu-latest
# steps:
# - uses: jayqi/failed-build-issue-action@v1
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion tests/test_lib.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from dataclasses import dataclass
from typing import Sequence

from packaging.version import Version
import pytest
Expand Down Expand Up @@ -26,7 +27,7 @@ class _TestCaseExpected:
@dataclass
class _TestCase:
input: str
expected: list[_TestCaseExpected]
expected: Sequence[_TestCaseExpected]


TEST_CASES = [
Expand Down

0 comments on commit 68c5c27

Please sign in to comment.