Skip to content

Commit

Permalink
Merge pull request #34 from boschresearch/update-ci
Browse files Browse the repository at this point in the history
Add python up to 3.11 to CI.
  • Loading branch information
DKreuter authored Jan 9, 2024
2 parents 989baa9 + b9d9c4a commit c92ff57
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,18 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- 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
pip install -U setuptools setuptools_scm wheel
python -m pip install flake8 pytest pytest-cov
python -m pip install -e .
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
requires = ["setuptools>=46.1.0", "setuptools_scm[toml]>=5", "wheel"]
build-backend = "setuptools.build_meta"

#[tool.setuptools_scm]
[tool.setuptools_scm]
# See configuration details in https://github.com/pypa/setuptools_scm
#version_scheme = "no-guess-dev"
version_scheme = "no-guess-dev"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

if __name__ == "__main__":
try:
setup(use_scm_version=False) #use_scm_version={"version_scheme": "no-guess-dev"}
setup(use_scm_version={"version_scheme": "no-guess-dev"})
except: # noqa
print(
"\n\nAn error occurred while building the project, "
Expand Down

0 comments on commit c92ff57

Please sign in to comment.