diff --git a/.github/workflows/ci.yml b/.github/workflows/ci_linux.yml similarity index 76% rename from .github/workflows/ci.yml rename to .github/workflows/ci_linux.yml index 268e684..0384b69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci_linux.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.9", "3.11" ] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] name: Setup steps: - uses: actions/checkout@v3 @@ -35,9 +35,14 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.9", "3.11" ] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] steps: - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + cache: 'pip' - name: Restore venv uses: actions/download-artifact@v4 with: @@ -55,9 +60,14 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.9", "3.11" ] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] steps: - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + cache: 'pip' - name: Restore venv uses: actions/download-artifact@v4 with: @@ -98,9 +108,14 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.9", "3.11" ] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] steps: - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + cache: 'pip' - name: Restore venv uses: actions/download-artifact@v4 with: @@ -121,9 +136,14 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.9", "3.11" ] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] steps: - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + cache: 'pip' - name: Restore venv uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/BuildTest_win32.yml b/.github/workflows/ci_win32.yml similarity index 75% rename from .github/workflows/BuildTest_win32.yml rename to .github/workflows/ci_win32.yml index 413c40b..ec633bd 100644 --- a/.github/workflows/BuildTest_win32.yml +++ b/.github/workflows/ci_win32.yml @@ -9,8 +9,7 @@ jobs: runs-on: windows-latest strategy: matrix: - python-version: ["3.9", "3.11"] -# python-version: [3.9, 3.10, 3.11, 3.12] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -22,10 +21,14 @@ jobs: .\ci\win32\create_venv.cmd .\ci\win32\install_dependencies.cmd - - name: run unit tests + - name: Run lint + run: | + .\ci\win32\lint.cmd + + - name: Run unit tests run: | .\ci\win32\test_unit.cmd - - name: Lint + - name: Run typecheck run: | - .\ci\win32\lint.cmd + .\ci\win32\typecheck.cmd diff --git a/pyproject.toml b/pyproject.toml index 4124e98..3cbd301 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,13 +24,13 @@ classifiers = [ ] dependencies = [ - "aio-pika ~= 9.4.2", - "omotes-sdk-protocol ~= 0.1.13", + "aio-pika ~= 9.4", + "omotes-sdk-protocol ~= 0.1", "pyesdl ~= 24.2", - "pamqp ~= 3.3.0", - "celery ~= 5.3.6", - "typing-extensions ~= 4.11.0", - "streamcapture ~= 1.2.4", + "pamqp ~= 3.3", + "celery ~= 5.3", + "typing-extensions ~= 4.11", + "streamcapture ~= 1.2.5", ] [project.optional-dependencies] @@ -44,7 +44,6 @@ dev = [ "flake8-docstrings ~= 1.7.0", "flake8-quotes ~= 3.4.0", "flake8-bugbear ~= 24.10.31", - "flake8-mock ~= 0.4", "flake8-tuple ~= 0.4.1", "pytest ~= 8.3.4", "pytest-cov ~= 6.0.0",