Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: adjust htmlcov artifacts path #2

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down