From 6d5e8155669d0985a6ac78084fe4ad511ddf6ffc Mon Sep 17 00:00:00 2001 From: Sheldon Hull Date: Mon, 29 Jan 2024 17:53:34 +0100 Subject: [PATCH] chore(ci): update python version and modify working directory in pipeline - Switch Python version from 3.10 to 3.11 in pipeline - Modify GitHub workflow to consistently set working-directory as './ansible_collections/delinea/core' - Change double quoted strings in YAML file to single quoted --- .github/workflows/test.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9e484e1..b962f9f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -38,7 +38,7 @@ jobs: - name: Python uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" - name: Aqua uses: aquaproj/aqua-installer@294926f94b4233f202a2f03875c604f840cfed70 # v2.1.1 @@ -47,27 +47,32 @@ jobs: aqua_version: v2.21.3 enable_aqua_install: true aqua_opts: "--tags installfirst" + working-directory: ${{ env.HERE }} - name: update-github-path-with-aqua + working-directory: ${{ env.HERE }} run: | echo "${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin/aqua" >> $GITHUB_PATH - name: aqua-install-tooling + working-directory: ${{ env.HERE }} run: | aqua install --tags installfirst aqua install --tags tests - name: Init + working-directory: ${{ env.HERE }} run: mage initCI ${{ matrix.ansible }} - name: Unit - run: mage testUnit working-directory: ${{ env.HERE }} + run: mage testUnit - name: Sanity - run: mage testSanity working-directory: ${{ env.HERE }} + run: mage testSanity - uses: codecov/codecov-action@v3 with: fail_ci_if_error: false + working-directory: ${{ env.HERE }}