Skip to content

fix: Fix imports for alpenhorn reorg #17

fix: Fix imports for alpenhorn reorg

fix: Fix imports for alpenhorn reorg #17

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/