Trying to get packages to install and test

This commit is contained in:
Cyber MacGeddon 2025-07-22 23:37:05 +01:00
parent 1a7dfdb48f
commit c0c55dca73

View file

@ -22,15 +22,15 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Setup packages
run: make update-package-versions VERSION=1.2.999
- name: Setup environment - name: Setup environment
run: python3.12 -m venv env run: python3.12 -m venv env
- name: Invoke environment - name: Invoke environment
run: . env/bin/activate run: . env/bin/activate
- name: Setup packages
run: make update-package-versions VERSION=1.2.999
- name: Install some stuff - name: Install some stuff
run: pip install build wheel run: pip install build wheel
@ -43,6 +43,15 @@ jobs:
- name: Install some stuff - name: Install some stuff
run: pip install pytest pytest-cov pytest-asyncio pytest-mock testcontainers 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 - name: Unit tests
run: python3 -m pytest tests/unit run: python3 -m pytest tests/unit