Skip to content

Begin reworking the packaging #47

Begin reworking the packaging

Begin reworking the packaging #47

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- name: Checkout
uses: actions/checkout@v2
# https://github.com/actions/setup-python
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Lint with flake8
run: |
pip install flake8
flake8 . bin/thotkeeper --count --statistics
# - name: Test with pytest
# run: |
# pip install pytest
# pytest
- name: Create a source distribution
run: |
python -m build --sdist