From f8c73c3b2053785882fa7ab7b85235f7f9332388 Mon Sep 17 00:00:00 2001 From: kazk Date: Tue, 18 May 2021 12:30:57 -0700 Subject: [PATCH 1/5] Set up CI for macOS and Windows (#17) --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 288e153..c0329e4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,10 +3,12 @@ on: [push, pull_request] jobs: test: - runs-on: ubuntu-latest strategy: + fail-fast: false matrix: + os: [ubuntu-latest, macos-latest, windows-latest] python-version: [3.6, 3.7, 3.8] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} From 072ae3851e861cf2990f726eb938dbe8aaf1b080 Mon Sep 17 00:00:00 2001 From: kazk Date: Tue, 18 May 2021 14:16:36 -0700 Subject: [PATCH 2/5] Disable CI for macOS and Windows (#19) --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c0329e4..7ccf9a5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest] python-version: [3.6, 3.7, 3.8] runs-on: ${{ matrix.os }} steps: From 4ce62873b0f42994e2bdd719d3ea18aefd236f49 Mon Sep 17 00:00:00 2001 From: Keldan Chapman <43819332+Kacarott@users.noreply.github.com> Date: Wed, 4 May 2022 11:09:41 +0200 Subject: [PATCH 3/5] Fix assertions not visible on timeout (#23) --- codewars_test/test_framework.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/codewars_test/test_framework.py b/codewars_test/test_framework.py index cbe0993..7b6fc6a 100644 --- a/codewars_test/test_framework.py +++ b/codewars_test/test_framework.py @@ -11,7 +11,8 @@ def format_message(message): def display(type, message, label="", mode=""): print("\n<{0}:{1}:{2}>{3}".format( - type.upper(), mode.upper(), label, format_message(message))) + type.upper(), mode.upper(), label, format_message(message)) + , flush=True) def expect(passed=None, message=None, allow_raise=False): From 092b96559e062a8c51d42636c9bbdff9964e4c3c Mon Sep 17 00:00:00 2001 From: kazk Date: Wed, 4 May 2022 14:14:45 -0700 Subject: [PATCH 4/5] v0.2.1 - Fix assertions not visible on timeout #23 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2b6a117..fea4d4d 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="codewars_test", - version="0.2.0", + version="0.2.1", packages=["codewars_test"], license="MIT", description="Codewars test framework for Python", From 3e2ceebd6e6eda7b5058792d1d23a48be8eefa6a Mon Sep 17 00:00:00 2001 From: Christopher Sahnwaldt Date: Thu, 11 Aug 2022 03:29:13 +0200 Subject: [PATCH 5/5] README.md: pip installation instruction (#25) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index f888b4a..1df2030 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # Codewars Test Framework for Python +### Installation + +```bash +pip install git+https://github.com/codewars/python-test-framework.git#egg=codewars_test +``` + ### Basic Example ```python