Fix remote stream termination #62
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: build | |
on: | |
push: | |
branches: [main, develop] | |
pull_request: | |
branches: [main, develop] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ['3.10', '3.11', '3.12'] | |
name: build - Python ${{ matrix.python-version }} (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
# Python setup | |
- name: Set up Python environment | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
# Install build dependencies | |
- name: Install build dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools wheel poetry pre-commit | |
# install | |
- name: Install | |
id: install | |
run: poetry install | |
# Run pre-commit | |
- name: Run pre-commit | |
run: pre-commit run --all-files | |
# Run tests | |
- name: Run tests | |
run: poetry run pytest |