Skip to content

Updated CI to use pyproject.toml, ruff linter #61

Updated CI to use pyproject.toml, ruff linter

Updated CI to use pyproject.toml, ruff linter #61

Workflow file for this run

name: tests
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install ".[dev]"
- name: Run ruff linter
run: |
ruff src/iceaddr
- name: Test with pytest
run: |
python -m pytest -vvv
- name: Build package
run: |
python -m build