From c0c55dca738967d5f2b7d72459ca8f5a3b7601aa Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Tue, 22 Jul 2025 23:37:05 +0100 Subject: [PATCH] Trying to get packages to install and test --- .github/workflows/pull-request.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index e388a733..7475ef48 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -22,15 +22,15 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Setup packages - run: make update-package-versions VERSION=1.2.999 - - name: Setup environment run: python3.12 -m venv env - name: Invoke environment run: . env/bin/activate + - name: Setup packages + run: make update-package-versions VERSION=1.2.999 + - name: Install some stuff run: pip install build wheel @@ -43,6 +43,15 @@ jobs: - name: Install some stuff run: pip install pytest pytest-cov pytest-asyncio pytest-mock testcontainers + - name: Pre-test test + run: python -c 'import trustgraph.base;print(dir(trustgraph.base))' + + - name: Pre-test test 2 + run: python -c 'import trustgraph.schema;print(dir(trustgraph.schema))' + + - name: Pre-test test 3 + run: python -c 'import trustgraph.model;print(dir(trustgraph.model))' + - name: Unit tests run: python3 -m pytest tests/unit