Skip to content

Commit

Permalink
chore(ci): update test workflow in GitHub Actions
Browse files Browse the repository at this point in the history
- Switch branch and directory name quotes in test.yaml to single quotes
- Update aqua_version in aqua action from v1.32.0 to v2.21.3
- Add 'update-github-path-with-aqua' and 'aqua-install-tooling' steps
- Change aqua_opts in both Aqua steps to '--tags installfirst' and '--tags tests' respectively
  • Loading branch information
sheldonhull committed Jan 29, 2024
1 parent 1379517 commit 59e8fcd
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,23 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Aqua
uses: aquaproj/aqua-installer@294926f94b4233f202a2f03875c604f840cfed70 # v2.1.1
continue-on-error: true
with:
aqua_version: v1.32.0
aqua_version: v2.21.3
enable_aqua_install: true
aqua_opts: "--tags installfirst"
- name: Aqua
uses: aquaproj/aqua-installer@294926f94b4233f202a2f03875c604f840cfed70 # v2.1.1
continue-on-error: true
with:
aqua_version: v1.32.0
enable_aqua_install: true
aqua_opts: "--tags tests"

- name: update-github-path-with-aqua
run: |
echo "${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin/aqua" >> $GITHUB_PATH
- name: aqua-install-tooling
run: |
aqua install --tags installfirst
aqua install --tags tests
- name: Init
run: mage initCI ${{ matrix.ansible }}
Expand Down

0 comments on commit 59e8fcd

Please sign in to comment.