Skip to content

Lint

Lint #7

Workflow file for this run

name: Python package
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m ensurepip
python -m pip install pdm
pdm install --prod
pdm install --dev
- name: Check code formatting and linting
run: |
pdm lint-check
- name: Run tests
run: |
pdm test -m "not integration"