File tree Expand file tree Collapse file tree 8 files changed +16
-16
lines changed
templates/github/workflows
project-template/{{cookiecutter.repo_name}}/exasol/{{cookiecutter.package_name}} Expand file tree Collapse file tree 8 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1919 uses : ./.github/actions/python-environment
2020
2121 - name : Check Version(s)
22- run : poetry run version-check `poetry run python -c "from noxconfig import PROJECT_CONFIG; print(PROJECT_CONFIG.version_file)"`
22+ run : poetry run version-check `poetry run -- python -c "from noxconfig import PROJECT_CONFIG; print(PROJECT_CONFIG.version_file)"`
2323
2424 Documentation :
2525 name : Docs
3535
3636 - name : Build Documentation
3737 run : |
38- poetry run python -m nox -s docs:build
38+ poetry run -- nox -s docs:build
3939
4040 Changelog :
4141 name : Changelog Update Check
Original file line number Diff line number Diff line change 2727 - name : Copy Artifacts into Root Folder
2828 working-directory : ./artifacts
2929 run : |
30- poetry run coverage combine --keep coverage-python3.9*/.coverage
30+ poetry run -- coverage combine --keep coverage-python3.9*/.coverage
3131 # Errors during copying are ignored because they are checked in the next step
3232 cp .coverage ../ || true
3333 cp lint-python3.9/.lint.txt ../ || true
5252 poetry run -- nox -s project:report -- --format markdown >> $GITHUB_STEP_SUMMARY
5353 poetry run -- nox -s dependency:licenses >> $GITHUB_STEP_SUMMARY
5454 echo -e "\n\n# Coverage\n" >> $GITHUB_STEP_SUMMARY
55- poetry run coverage report -- --format markdown >> $GITHUB_STEP_SUMMARY
56- poetry run tbx lint pretty-print >> $GITHUB_STEP_SUMMARY
57- poetry run tbx security pretty-print .security.json >> $GITHUB_STEP_SUMMARY
55+ poetry run -- coverage report -- --format markdown >> $GITHUB_STEP_SUMMARY
56+ poetry run -- tbx lint pretty-print >> $GITHUB_STEP_SUMMARY
57+ poetry run -- tbx security pretty-print .security.json >> $GITHUB_STEP_SUMMARY
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ forward and you just can use the example *noxfile.py* bellow.
175175
176176 .. code-block :: shell
177177
178- poetry run pre-commit install --hook-type pre-commit --hook-type pre-push
178+ poetry run -- pre-commit install --hook-type pre-commit --hook-type pre-push
179179
180180 .. _toolbox tasks :
181181
Original file line number Diff line number Diff line change 2525 # ATTENTION:
2626 # This file is generated by exasol/toolbox/pre_commit_hooks/package_version.py when using:
2727 # * either "poetry run -- nox -s project:fix"
28- # * or "poetry run version-check <path/version.py> --fix"
28+ # * or "poetry run -- version-check <path/version.py> --fix"
2929 # Do not edit this file manually!
3030 # If you need to change the version, do so in the project.toml, e.g. by using `poetry version X.Y.Z`.
3131 MAJOR = {major}
Original file line number Diff line number Diff line change 2222 run : |
2323 echo "Please enable the version check by replacing this output with shell command bellow:"
2424 echo ""
25- echo "poetry run version-check <<VERSION_PY>>"
25+ echo "poetry run -- version-check <<VERSION_PY>>"
2626 echo ""
2727 echo "Note: <<VERSION_PY>> needs to point to the version file of the project (version.py)."
2828 exit 1
4141
4242 - name : Build Documentation
4343 run : |
44- poetry run python -m nox -s docs:build
44+ poetry run -- nox -s docs:build
4545
4646 build-matrix :
4747 name : Generate Build Matrix
Original file line number Diff line number Diff line change 2727 - name : Copy Artifacts into Root Folder
2828 working-directory : ./artifacts
2929 run : |
30- poetry run coverage combine --keep coverage-python3.9*/.coverage
30+ poetry run -- coverage combine --keep coverage-python3.9*/.coverage
3131 # Errors during copying are ignored because they are checked in the next step
3232 cp .coverage ../ || true
3333 cp lint-python3.9/.lint.txt ../ || true
5252 poetry run -- nox -s project:report -- --format markdown >> $GITHUB_STEP_SUMMARY
5353 poetry run -- nox -s dependency:licenses >> $GITHUB_STEP_SUMMARY
5454 echo -e "\n\n# Coverage\n" >> $GITHUB_STEP_SUMMARY
55- poetry run coverage report -- --format markdown >> $GITHUB_STEP_SUMMARY
56- poetry run tbx security pretty-print >> $GITHUB_STEP_SUMMARY
57- poetry run tbx security pretty-print .security.json >> $GITHUB_STEP_SUMMARY
55+ poetry run -- coverage report -- --format markdown >> $GITHUB_STEP_SUMMARY
56+ poetry run -- tbx security pretty-print >> $GITHUB_STEP_SUMMARY
57+ poetry run -- tbx security pretty-print .security.json >> $GITHUB_STEP_SUMMARY
Original file line number Diff line number Diff line change 11# ATTENTION:
22# This file is generated by exasol/toolbox/pre_commit_hooks/package_version.py when using:
33# * either "poetry run -- nox -s project:fix"
4- # * or "poetry run version-check <path/version.py> --fix"
4+ # * or "poetry run -- version-check <path/version.py> --fix"
55# Do not edit this file manually!
66# If you need to change the version, do so in the project.toml, e.g. by using `poetry version X.Y.Z`.
77MAJOR = 0
Original file line number Diff line number Diff line change 11# ATTENTION:
22# This file is generated by exasol/toolbox/pre_commit_hooks/package_version.py when using:
33# * either "poetry run -- nox -s project:fix"
4- # * or "poetry run version-check <path/version.py> --fix"
4+ # * or "poetry run -- version-check <path/version.py> --fix"
55# Do not edit this file manually!
66# If you need to change the version, do so in the project.toml, e.g. by using `poetry version X.Y.Z`.
77MAJOR = 0
You can’t perform that action at this time.
0 commit comments