From 2d20c8b40ec4883efa79b9caf01410f65b97337f Mon Sep 17 00:00:00 2001 From: Matt Rogers Date: Sat, 24 Jul 2021 19:02:15 +0000 Subject: [PATCH] Only define matrices for valid test environments Removes ruby 3.0 completely and ignores sqlite and postgres for the older Ruby versions --- .github/workflows/continuous-integration.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 9db822b2..7e08a26d 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -6,8 +6,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby: ["2.5", "2.6", "2.7", "3.0"] + ruby: ["2.5", "2.6", "2.7"] db: [sqlite, mysql, postgres] + exclude: + - ruby: "2.5" + db: [sqlite, postgres] + - ruby: "2.6" + db: [sqlite, postgres] + steps: - uses: actions/checkout@v1 - run: bash -x script/cibuild ${{ matrix.ruby }} ${{ matrix.db }} \ No newline at end of file