diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aa9a4f4..786fff6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,7 +33,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: htmlcov-py${{ matrix.python }} - path: htmlcov.py* + path: htmlcov-py${{ matrix.python }} retention-days: 14 - name: Build package run: make build diff --git a/Makefile b/Makefile index a00c557..5a293f3 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ clean: ## Clean up rm -rf $(TOPDIR)/$${dir} ; \ done rm -f $(TOPDIR)/.coverage - rm -rf $(TOPDIR)/htmlcov.py* + rm -rf $(TOPDIR)/htmlcov-py* rm -f $(TOPDIR)/src/zont_api/version.py $(TOPDIR)/VERSION .PHONY: build test lint fmt venv clean diff --git a/tox.ini b/tox.ini index 5b1429a..84eeea7 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,7 @@ commands = coverage report -m coverage html coverage json -o htmlcov/coverage.json - python -c 'from sys import version_info; from shutil import rmtree; from os import rename; rename(".coverage", f"htmlcov/.coverage"); rmtree(f"htmlcov.py{version_info.major}{version_info.minor}", ignore_errors=True); rename("htmlcov", f"htmlcov.py{version_info.major}{version_info.minor}")' + python -c 'from sys import version_info; from shutil import rmtree; from os import rename; rename(".coverage", f"htmlcov/.coverage"); rmtree(f"htmlcov-py{version_info.major}.{version_info.minor}", ignore_errors=True); rename("htmlcov", f"htmlcov-py{version_info.major}.{version_info.minor}")' [testenv:lint] description = run linters