Skip to content

DNA fixes and improvements #15

DNA fixes and improvements

DNA fixes and improvements #15

Workflow file for this run

name: Automated testing
on: push
jobs:
testing:
name: Running tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Build and install package
run: python -m pip install .
- name: Test with pytest
run: |
python -m pip install pytest
python -m pytest
linting:
name: Linting
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tool: ["flake8", "mypy"]
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Build and install package
run: python -m pip install .
- name: Running ${{ matrix.tool }}
run: |
python -m pip install -r requirements.txt
python -c "print('=========== ${{ matrix.tool }} ===========')"
python -m ${{ matrix.tool }} src/ tests/ examples/