Skip to content

Commit

Permalink
mark integration
Browse files Browse the repository at this point in the history
  • Loading branch information
ikappaki committed Jul 28, 2024
1 parent 452befc commit 26fdf5c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ jobs:
- name: Install the project dependencies
run: poetry install
- name: Run the automated tests
run: poetry run pytest -v
run: poetry run pytest -m "not integration" -v
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ nrepl-python-client = "^0.0.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.pytest.ini_options]
markers = ["integration: integration tests"]
3 changes: 3 additions & 0 deletions tests/basilisp_blender/integration/int_eval_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import pytest
from tests.basilisp_blender.integration import test_utils as tu

pytestmark = pytest.mark.integration

def test_eval_editor():
result = tu.blender_eval('''from basilisp_blender import eval as evl
import bpy
Expand Down
3 changes: 3 additions & 0 deletions tests/basilisp_blender/integration/int_nrepl_test.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import nrepl
import os
import pytest
from tests.basilisp_blender.nrepl_test import work_thread_do
from tests.basilisp_blender.integration import test_utils as tu
import threading
import time

pytestmark = pytest.mark.integration

def test_server_start(tmp_path):
codefile = tmp_path / "server-start-code-file.py"
portfile = tmp_path / ".basilisp-blender-int-test-port"
Expand Down
2 changes: 2 additions & 0 deletions tests/basilisp_blender/integration/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import tempfile
import time

pytestmark = pytest.mark.integration

def blender_path_get():
return shutil.which("blender")

Expand Down

0 comments on commit 26fdf5c

Please sign in to comment.