From d7c0cd966e7f0c5cd0698a8aef9805ccc4024a7d Mon Sep 17 00:00:00 2001 From: Kuba Mazurek Date: Wed, 16 Jun 2021 18:39:08 +0200 Subject: [PATCH 1/2] Use matrix strategy to run goth nightly tests --- .github/workflows/goth-nightly.yml | 8 ++++++-- .github/workflows/{integration.yml => goth.yml} | 7 +------ 2 files changed, 7 insertions(+), 8 deletions(-) rename .github/workflows/{integration.yml => goth.yml} (95%) diff --git a/.github/workflows/goth-nightly.yml b/.github/workflows/goth-nightly.yml index f7210ea99..8040a9fcd 100644 --- a/.github/workflows/goth-nightly.yml +++ b/.github/workflows/goth-nightly.yml @@ -7,13 +7,17 @@ on: jobs: goth-tests: - name: Run integration tests (stable) + strategy: + fail-fast: false + matrix: + branch: ["master", "b0.6"] + name: Run integration tests (nightly) on ${{ matrix.branch }} runs-on: goth steps: - name: Checkout uses: actions/checkout@v2 with: - ref: 'b0.5' + ref: ${{ matrix.branch }} - name: Configure python uses: actions/setup-python@v2 diff --git a/.github/workflows/integration.yml b/.github/workflows/goth.yml similarity index 95% rename from .github/workflows/integration.yml rename to .github/workflows/goth.yml index 52cd9aeb0..cb3e87094 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/goth.yml @@ -1,4 +1,4 @@ -name: integration-test +name: Goth (PR and push) on: push: @@ -9,17 +9,12 @@ on: branches: - master - b0.* - schedule: - # run this workflow every day at 1:30 AM UTC - - cron: '30 1 * * *' jobs: - goth-tests: name: Run integration tests runs-on: goth steps: - - name: Checkout uses: actions/checkout@v2 From 59cbdd7d8ea0422bdeb28028510349d3b8cbb5e3 Mon Sep 17 00:00:00 2001 From: Kuba Mazurek Date: Wed, 16 Jun 2021 18:39:32 +0200 Subject: [PATCH 2/2] Update goth to 0.4+ --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 64be2989b..fa371737f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ colorama = "^0.4.4" # It will be then installable with `poetry install -E integration-tests`. # Note that putting `goth` in `poetry.dev-dependencies` instead of `poetry.dependencies` # would not work: see https://github.com/python-poetry/poetry/issues/129. -goth = { version = "^0.3", optional = true, python = "^3.8.0" } +goth = { version = "^0.4", optional = true, python = "^3.8.0" } Deprecated = "^1.2.12" python-statemachine = "^0.8.0"