+
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10"]
#python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- name: DF-1
Expand Down Expand Up @@ -74,13 +75,20 @@ jobs:
- name: DF-5
run: df
- name: Run tests
run: poetry run pytest -n auto sycamore/tests/unit/
run: poetry run pytest -n auto --ctrf unit_test_report.json sycamore/tests/unit/ && ls .
working-directory: lib/sycamore
- name: Run more tests
run: poetry run python sycamore/tests/manual/test_fast_sycamore_import.py
working-directory: lib/sycamore
- name: DF-6
run: df
- name: Show Report
run: ls lib/sycamore/
- name: Publish Test Report
uses: ctrf-io/github-test-reporter@v1
with:
report-path: 'lib/sycamore/unit_test_report.json'
if: always()

rps-unit-test:
runs-on: blacksmith-4vcpu-ubuntu-2204
Expand Down Expand Up @@ -219,7 +227,12 @@ jobs:
- name: Allow Read/Write permissions to Neo4j Import Directory
run: sudo chmod -R 777 /neo4j/import
- name: Run Integ tests
run: poetry run pytest lib/sycamore/sycamore/tests/integration
run: poetry run pytest --ctrf ./ctrf/integ_test_report.json lib/sycamore/sycamore/tests/integration
- name: Publish Test Report
uses: ctrf-io/github-test-reporter@v1
with:
report-path: './ctrf/*.json'
if: always()

notebook-tests-slow:
runs-on: blacksmith-8vcpu-ubuntu-2204
Expand Down
18 changes: 16 additions & 2 deletions lib/sycamore/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/sycamore/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ flake8 = "4.0.1"
pytest = "7.4.0" # See poetry-lock/pyproject.toml
pytest-mock = "^3.11"
pytest-xdist = "^3.6.1"
pytest-json-ctrf = "^0.3.5"

[tool.poetry.group.dev.dependencies]
sycamore-poetry-lock = { path = "../../lib/poetry-lock", develop = true }
Expand Down
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载