fix(late bytes): add optional param of session_id so we can be explicit #214
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Tests | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.11", "3.12"] | |
env: | |
FORCE_COLOR: 1 | |
TERM: xterm-color | |
MYPY_FORCE_COLOR: 1 | |
MYPY_FORCE_TERMINAL_WIDTH: 200 | |
PYTEST_ADDOPTS: --color=yes | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install PDM | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pdm | |
- name: Install dependencies | |
run: pdm sync -G:all | |
- name: Run tests | |
run: pdm run pytest -m "not integration" | |
- name: Run ruff | |
run: pdm run ruff check masterbase --output-format=github | |
- name: Run mypy | |
run: pdm run mypy |