Skip to content

Commit

Permalink
Merge pull request #110 from onuralpszr/pyproject-toml
Browse files Browse the repository at this point in the history
feat: 🚀 introduce pyproject.toml file and remove old setup.py/cfg and req*.txt
  • Loading branch information
mabulgu authored Oct 17, 2023
2 parents 98f84f0 + c88ab30 commit 0322e77
Show file tree
Hide file tree
Showing 6 changed files with 1,361 additions and 85 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,22 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install setuptools for Python ${{ matrix.python-version }}
run: python -m pip install --upgrade setuptools


- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -e .
cache: 'pip'

- name: Setup an environment for Python ${{ matrix.python-version }}
run: pip install ".[dev]"

- name: Lint with flake8
run: |
Expand All @@ -38,7 +41,8 @@ jobs:
- name: Test
run: |
kfk
cd tests && python -m pytest
cd tests && pytest
- name: Build
run: |
python setup.py sdist bdist_wheel
python -m build
twine check --strict dist/*
Loading

0 comments on commit 0322e77

Please sign in to comment.