Skip to content

Commit

Permalink
groups updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrolexa committed Dec 17, 2024
1 parent 359931c commit 0d4c438
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 20 deletions.
35 changes: 17 additions & 18 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Python testing
on:
push:
branches:
- '**'
- "**"
pull_request:

jobs:
Expand All @@ -16,22 +16,21 @@ jobs:
python-version: ["3.10", "3.11", "3.12"]

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
# setuptools_scm requires a non-shallow clone of the repository
fetch-depth: 0
- name: Checkout repository
uses: actions/checkout@v4
with:
# setuptools_scm requires a non-shallow clone of the repository
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install Python package
run: |
python -m pip install pytest
python -m pip install .
- name: Run Python tests
run: |
python -m pytest
- name: Install Python package
run: |
python -m pip install .[tests]
- name: Run Python tests
run: |
python -m pytest
13 changes: 11 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,18 @@ classifiers = [
dependencies = ["numpy", "matplotlib", "pyqt6", "scipy", "shapely>=2", "tqdm"]

[project.optional-dependencies]
docs = ["sphinx", "sphinx_mdinclude", "sphinx_rtd_theme"]
dev = ["pytest", "pytest-cov", "black"]
extra = ["networkx"]
docs = ["sphinx", "sphinx_mdinclude", "sphinx_rtd_theme"]
tests = ["pytest", "pytest-cov"]
dev = [
"pytest",
"pytest-cov",
"black",
"networkx",
"sphinx",
"sphinx_mdinclude",
"sphinx_rtd_theme",
]

[project.urls]
Homepage = "https://github.com/ondrolexa/pypsbuilder"
Expand Down

0 comments on commit 0d4c438

Please sign in to comment.