Skip to content

add docsctrings to protocols api #70

add docsctrings to protocols api

add docsctrings to protocols api #70

Workflow file for this run

name: "Build & Test"
on:
push:
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
name: "tests & coverage"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install hatch
run: |
python -m pip install hatch
- name: Install project dependencies
run: |
sudo apt update && sudo apt upgrade -y
sudo apt install -y libhdf5-dev libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsdl2-2.0-0 libsdl2-ttf-2.0-0
- name: Tests & coverage
run: hatch run +py=${{ matrix.python-version }} test:run-coverage-ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
build:
name: "build"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install hatch
run: |
python -m pip install hatch
- name: Build package with hatch
run: |
hatch build