From 77cc76182204de85e266462e502b8a37fa078c0b Mon Sep 17 00:00:00 2001 From: Cor Date: Fri, 25 Aug 2023 16:14:30 +0200 Subject: [PATCH] Ignore redundant tox environments (#45) * Write python tox environments the same * Ignore redundant tox envs * Remove redundant curly brackets * Add changelog * Add test docs again --- .github/workflows/workflow.yml | 2 +- CHANGELOG.md | 1 + setup.cfg | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 106f993..0265242 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -56,7 +56,7 @@ jobs: python -m pip install tox - name: Test with tox - run: tox + run: tox --skip-env "^py(?!${{ matrix.python-version }}).*" - name: Test docs with tox run: tox -e docs diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eba5ce..0477dc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ - Remove upper version constrain for dbt core ([PR](https://github.com/godatadriven/pytest-dbt-core/pull/43)) +- CI speed up: ignore redundant tox environments ([issue](https://github.com/godatadriven/pytest-dbt-core/issues/44), [PR](https://github.com/godatadriven/pytest-dbt-core/pull/45)) ## [0.2.2] - 2023-08-09 diff --git a/setup.cfg b/setup.cfg index a1860f2..5d662b2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -70,7 +70,7 @@ spark_options = spark.sql.catalogImplementation: in-memory [tox:tox] -envlist = py37-dbt-spark{11,12,13,14,15},py{3.8,3.9,3.10}-dbt-spark{11,12,13,14,15,16} +envlist = py3.7-dbt-spark{11,12,13,14,15},py{3.8,3.9,3.10}-dbt-spark{11,12,13,14,15,16} isolated_build = true skip_missing_interpreters = true