mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 17:39:39 +02:00
Merge commit '74cc8a4685' as 'ai-context/trustgraph-templates'
This commit is contained in:
commit
c386f68743
1216 changed files with 116347 additions and 0 deletions
31
ai-context/trustgraph-templates/.github/workflows/pull-request.yaml
vendored
Normal file
31
ai-context/trustgraph-templates/.github/workflows/pull-request.yaml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
|
||||
name: Test pull request
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
|
||||
container-push:
|
||||
|
||||
name: Run tests
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup environment
|
||||
run: |
|
||||
python3 -m venv env
|
||||
. env/bin/activate
|
||||
pip install -e .[dev]
|
||||
|
||||
- name: Run pytest tests
|
||||
run: |
|
||||
. env/bin/activate
|
||||
pytest -v --tb=short
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue