Skip to content

Commit

Permalink
Split build job
Browse files Browse the repository at this point in the history
  • Loading branch information
gbip committed Jan 20, 2025
1 parent f5dbeba commit 3a73b17
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pyproject.toml export-subst
20 changes: 16 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,22 @@ jobs:
with:
version: "~= 24.0"

linting:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Needed for versioningit to find the repo version
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Build python package
run: python -m build

formatting:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -50,6 +65,3 @@ jobs:

- name: Run isort
run : isort --profile black .

- name: Build package
run: python -m build .

0 comments on commit 3a73b17

Please sign in to comment.