diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index 28d2a4dd1c..041d020647 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -332,7 +332,7 @@ jobs: - name: Performance Reporting uses: CodSpeedHQ/action@972e3437949c89e1357ebd1a2dbc852fcbc57245 # pin@v4 with: - mode: simulation + mode: walltime run: pytest ./src/performance --codspeed coverage: @@ -389,7 +389,7 @@ jobs: performance: name: Tests - Performance - runs-on: ubuntu-24.04 + runs-on: codspeed-macro needs: ["pre-commit", "paths-filter"] if: needs.paths-filter.outputs.server == 'true' || needs.paths-filter.outputs.force == 'true' @@ -414,10 +414,13 @@ jobs: apt-dependency: gettext poppler-utils dev-install: true update: true + npm: true + env: + node_version: '>=20.19.0' - name: Performance Reporting uses: CodSpeedHQ/action@972e3437949c89e1357ebd1a2dbc852fcbc57245 # pin@v4 with: - mode: simulation + mode: walltime run: inv dev.test --pytest postgres: diff --git a/src/backend/InvenTree/manage.py b/src/backend/InvenTree/manage.py index 9e1d7b6804..988cd61e3f 100755 --- a/src/backend/InvenTree/manage.py +++ b/src/backend/InvenTree/manage.py @@ -17,7 +17,6 @@ def main(): 'available on your PYTHONPATH environment variable? Did you ' 'forget to activate a virtual environment?' ) from exc - execute_from_command_line(sys.argv)