Skip to content

Commit cb9d23e

Browse files
author
Jonathan Crum
committed
Testing github pytest skip
1 parent a44d818 commit cb9d23e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/main.yml

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Tests
22

33
on: [push]
44

5-
env:
6-
ENVIRONMENT: Github
7-
85
jobs:
96
build:
107
runs-on: ubuntu-latest

tests/test_dev.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def test_entity_creation(ecs: Engine, caplog) -> None:
145145
assert all([e1, e2, e3, e4, e5])
146146

147147

148-
pytest.mark.skipif(os.environ.get("ENVIRONMENT") == "Github")
148+
pytest.mark.skipif(os.getenv("CI") is not None)
149149
def test_component_registration(ecs: Engine) -> None:
150150
"""
151151
Test that specific Component types exist in the ECS Engine and that their

0 commit comments

Comments
 (0)