Skip to content

Commit 4717288

Browse files
authored
Enable colours in CI (#208)
1 parent af34992 commit 4717288

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: CI
33

44
on: [push, pull_request]
55

6+
env:
7+
FORCE_COLOR: 1
8+
69
jobs:
710
package:
811
runs-on: ubuntu-latest

setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ profile = black
33

44
[tool:pytest]
55
addopts = -vvv --cov-report=term-missing --cov=elastic_transport
6+
asyncio_default_fixture_loop_scope = "function"
67

78
[coverage:report]
89
omit =

tests/conftest.py

-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ async def perform_request(self, *args, **kwargs):
6767

6868

6969
@pytest.fixture(scope="session", params=[True, False])
70-
@pytest.mark.usefixtures("httpbin_node_config")
7170
def httpbin_cert_fingerprint(request) -> str:
7271
"""Gets the SHA256 fingerprint of the certificate for 'httpbin.org'"""
7372
sock = socket.create_connection(("httpbin.org", 443))

0 commit comments

Comments
 (0)