Skip to content

build: fix typo in pyproject.toml and test suite (#3) #14

build: fix typo in pyproject.toml and test suite (#3)

build: fix typo in pyproject.toml and test suite (#3) #14

Workflow file for this run

name: alpenhorn-chime-ci
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install black
run: |
pip install black
- name: Check code with black
run: black --check .
run-tests:
strategy:
matrix:
python-version: ["3.10", "3.11"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install pip dependencies
run: |
pip install .
pip install .[test]
- name: Run tests
run: pytest -sv test/