2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 12:05:53 +00:00

Fix unit tests (#6932)

* Fix unit test

* Fix script pathing

* Fix pathing in version_check.py

* Fix mkdocs.yml
This commit is contained in:
Oliver
2024-04-03 17:50:13 +11:00
committed by GitHub
parent 5bec4ebb0e
commit 6be2ede5e8
4 changed files with 7 additions and 38 deletions

View File

@ -157,7 +157,7 @@ jobs:
if: needs.paths-filter.outputs.api == 'false'
run: |
pip install requests==2.31.0 >/dev/null 2>&1
version="$(python3 ci/version_check.py only_version 2>&1)"
version="$(python3 .github/scripts/version_check.py only_version 2>&1)"
echo "Version: $version"
url="https://raw.githubusercontent.com/inventree/schema/main/export/${version}/api.yaml"
echo "URL: $url"
@ -176,7 +176,7 @@ jobs:
if: github.ref == 'refs/heads/master' && needs.paths-filter.outputs.api == 'true'
run: |
pip install requests==2.31.0 >/dev/null 2>&1
version="$(python3 ci/version_check.py only_version 2>&1)"
version="$(python3 .github/scripts/version_check.py only_version 2>&1)"
echo "Version: $version"
echo "version=$version" >> "$GITHUB_OUTPUT"