From 0e24d5b344ed7a3a842515264958cb3f033ca29e Mon Sep 17 00:00:00 2001 From: cd-rite <61710958+cd-rite@users.noreply.github.com> Date: Thu, 26 Sep 2024 15:33:43 -0400 Subject: [PATCH] tweak --- .github/workflows/api-container-tests.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/api-container-tests.yml b/.github/workflows/api-container-tests.yml index 008a0c56..41a4ddbd 100644 --- a/.github/workflows/api-container-tests.yml +++ b/.github/workflows/api-container-tests.yml @@ -11,19 +11,8 @@ on: - ".github/workflows/api-container-tests.yml" jobs: - fetch-mysql-versions: - runs-on: ubuntu-latest - outputs: - MYSQL_VERSIONS: '["8.0.0", "8.0.1", "8.0.2", "8.0.3", "8.0.4", "8.0.5", "8.0.6", "8.0.7", "8.0.11", "8.0.12", "8.0.13", "8.0.14", "8.0.15", "8.0.16", "8.0.17", "8.0.18", "8.0.19", "8.0.20", "8.0.21", "8.0.22", "8.0.23", "8.0.24", "8.0.25", "8.0.26", "8.0.27", "8.0.28", "8.0.29", "8.0.30", "8.0.31", "8.0.32", "8.0.33", "8.0.34", "8.0.35", "8.0.36", "8.0.37", "8.0.38", "8.0.39"]' - # steps: - # - name: Fetch MySQL Versions - # id: fetch-versions - # run: | - # VERSIONS=$(echo $(curl -s "https://registry.hub.docker.com/v2/repositories/library/mysql/tags/?page_size=100" | jq -r '.results[].name | select(test("^8\\.0\\.\\d+$"))' | sort -V | tail -n3 | cat <(echo "8.0.21") - | jq -Rnc '[inputs]')) - # echo "version_array=$VERSIONS" >> $GITHUB_OUTPUT - test_api: - needs: fetch-mysql-versions + # needs: fetch-mysql-versions name: Mocha tests with ${{ matrix.container.name }} and MySQL ${{ matrix.mysql_version }} runs-on: ubuntu-latest strategy: @@ -31,7 +20,7 @@ jobs: container: - name: "stig-manager-alpine" build_arg: "node:lts-alpine" - mysql_version: ${{fromJson(needs.fetch-mysql-versions.outputs.MYSQL_VERSIONS)}} + mysql_version: ["8.0.0", "8.0.1", "8.0.2", "8.0.3", "8.0.4", "8.0.5", "8.0.6", "8.0.7", "8.0.11", "8.0.12", "8.0.13", "8.0.14", "8.0.15", "8.0.16", "8.0.17", "8.0.18", "8.0.19", "8.0.20", "8.0.21", "8.0.22", "8.0.23", "8.0.24", "8.0.25", "8.0.26", "8.0.27", "8.0.28", "8.0.29", "8.0.30", "8.0.31", "8.0.32", "8.0.33", "8.0.34", "8.0.35", "8.0.36", "8.0.37", "8.0.38", "8.0.39"] steps: - name: Check out the repo uses: actions/checkout@v4