mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 20:51:02 +02:00
Trying to get packages to install and test
This commit is contained in:
parent
1a7dfdb48f
commit
c0c55dca73
1 changed files with 12 additions and 3 deletions
15
.github/workflows/pull-request.yaml
vendored
15
.github/workflows/pull-request.yaml
vendored
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue