We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9823d4 commit ea9cc38Copy full SHA for ea9cc38
tests/verify_environment.py renamed to tests/test_verify_environment.py
@@ -4,6 +4,7 @@
4
from django.db import connection
5
import typing as t
6
from django.test import TestCase
7
+import pytest
8
9
10
def get_postgresql_version() -> t.Tuple[int, ...]:
@@ -22,6 +23,10 @@ def get_mysql_version():
22
23
print("MySQL version:", version[0])
24
25
26
+@pytest.mark.skipif(
27
+ os.environ.get("GITHUB_ACTIONS", None) != "true",
28
+ reason="This test is only for the CI environment.",
29
+)
30
class TestEnvironment(TestCase):
31
def test(self):
32
# verify that the environment is set up correctly - this is used in CI to make
0 commit comments