Skip to content

Update build system to use pyproject.toml #98

Update build system to use pyproject.toml

Update build system to use pyproject.toml #98

Workflow file for this run

name: Check Python Package
on:
push:
pull_request:
branches: [ master ]
permissions:
actions: read
contents: read
security-events: write
jobs:
check:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run Tests
run: tox
code-ql:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: python
queries: security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
doc8-lint:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run reStructuredText Linter
uses: deep-entertainment/doc8-action@v5
with:
scanPaths: ${{ github.workspace }}
flake8-lint:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Run flake8 Linter
run: |
pip install -e . flake8
flake8 --count --show-source --statistics src test