Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Mar 26, 2023
1 parent 322fad3 commit 4b1953b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install hatch
run: pipx install hatch
- name: Build sdist and wheel
run: hatch build -c
run: hatch build --clean
- name: Publish
if: github.event_name == 'release' && github.event.action == 'published'
run: hatch publish --user __token__ --auth ${{ secrets.pypi_password }}
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
Expand All @@ -31,4 +31,4 @@ jobs:
- name: Install hatch
run: pipx install hatch
- name: Testing
run: hatch run test.py${{ matrix.python-version }}:run
run: hatch run +py=${{ matrix.python-version }} test:run
7 changes: 1 addition & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ clean-notebook = "clean_notebook.__main__:main"
[project.optional-dependencies]
dev = ["hatch", "pytest", "black", "ruff", "mypy", "pre-commit"]

# [tool.setuptools.packages.find]
# where = ["src"]
# include = ["clean_notebook*"]
# namespaces = false

[tool.hatch.version]
source = "vcs"

Expand All @@ -46,7 +41,7 @@ scripts.run = "pre-commit run --all"
[tool.hatch.envs.test]
dependencies = ["pytest"]
scripts.run = "pytest tests"
matrix = [{python = ["3.8", "3.9", "3.10", "3.11"]}]
matrix = [{python = ["3.8", "3.9", "3.10", "3.11", "3.12"]}]

[tool.hatch.build]
sources = ["src"]
Expand Down

0 comments on commit 4b1953b

Please sign in to comment.