From 4c03f61904ac0f48ccf97d4f650ea720d9216f13 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Wed, 23 Jul 2025 00:24:06 +0100 Subject: [PATCH] Tweaking pull request --- .github/workflows/pull-request.yaml | 6 +++--- Makefile | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 9cb1c566..0db78845 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -58,11 +58,11 @@ jobs: run: python -c 'import trustgraph.model;print(dir(trustgraph.model))' - name: Unit tests - run: python3 -m pytest tests/unit + run: python -m pytest tests/unit - name: Integration tests (cut the out the long-running tests) - run: python3 -m pytest tests/integration -m 'not slow' + run: python -m pytest tests/integration -m 'not slow' - name: Contract tests - run: python3 -m pytest tests/contract + run: python -m pytest tests/contract diff --git a/Makefile b/Makefile index 12acddde..0bb33085 100644 --- a/Makefile +++ b/Makefile @@ -21,15 +21,15 @@ wheels: packages: update-package-versions rm -rf dist/ - cd trustgraph && python3 -m build --sdist --outdir ../dist/ - cd trustgraph-base && python3 -m build --sdist --outdir ../dist/ - cd trustgraph-flow && python3 -m build --sdist --outdir ../dist/ - cd trustgraph-vertexai && python3 -m build --sdist --outdir ../dist/ - cd trustgraph-bedrock && python3 -m build --sdist --outdir ../dist/ - cd trustgraph-embeddings-hf && python3 -m build --sdist --outdir ../dist/ - cd trustgraph-cli && python3 -m build --sdist --outdir ../dist/ - cd trustgraph-ocr && python3 -m build --sdist --outdir ../dist/ - cd trustgraph-mcp && python3 -m build --sdist --outdir ../dist/ + cd trustgraph && python -m build --sdist --outdir ../dist/ + cd trustgraph-base && python -m build --sdist --outdir ../dist/ + cd trustgraph-flow && python -m build --sdist --outdir ../dist/ + cd trustgraph-vertexai && python -m build --sdist --outdir ../dist/ + cd trustgraph-bedrock && python -m build --sdist --outdir ../dist/ + cd trustgraph-embeddings-hf && python -m build --sdist --outdir ../dist/ + cd trustgraph-cli && python -m build --sdist --outdir ../dist/ + cd trustgraph-ocr && python -m build --sdist --outdir ../dist/ + cd trustgraph-mcp && python -m build --sdist --outdir ../dist/ pypi-upload: twine upload dist/*-${VERSION}.* @@ -124,7 +124,7 @@ JSONNET_FLAGS=-J templates -J . update-templates: update-dcs -JSON_TO_YAML=python3 -c 'import sys, yaml, json; j=json.loads(sys.stdin.read()); print(yaml.safe_dump(j))' +JSON_TO_YAML=python -c 'import sys, yaml, json; j=json.loads(sys.stdin.read()); print(yaml.safe_dump(j))' update-dcs: set-version for graph in ${GRAPHS}; do \