Merge pull request #6 from claranet/updatecli_main

feat(ci): add ubuntu 24.04 in test workflow
This commit is contained in:
Delibes Bechir BKWEDOU-NGAMENI 2024-07-05 10:07:24 +02:00 committed by GitHub
commit 960cc9e72a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,10 @@
--- ---
name: Ansible Molecule name: Ansible Molecule
on: # yamllint disable-line rule:truthy
on: # yamllint disable-line rule:truthy
push: push:
tags_ignore: tags_ignore:
- '*' - '*'
pull_request: pull_request:
jobs: jobs:
setup: setup:
name: Setup scenarios matrix name: Setup scenarios matrix
@ -27,7 +25,6 @@ jobs:
JSON="$JSON]" JSON="$JSON]"
echo "::set-output name=scenarios::$(echo $JSON)" echo "::set-output name=scenarios::$(echo $JSON)"
lint: lint:
name: Lint name: Lint
needs: needs:
@ -42,7 +39,6 @@ jobs:
uses: ansible/ansible-lint-action@main uses: ansible/ansible-lint-action@main
with: with:
path: "." path: "."
test: test:
name: Scenario "${{ matrix.scenario }}" on ${{ matrix.config.image }}:${{ matrix.config.tag }} name: Scenario "${{ matrix.scenario }}" on ${{ matrix.config.image }}:${{ matrix.config.tag }}
needs: needs:
@ -67,6 +63,8 @@ jobs:
tag: "10" tag: "10"
- image: "ubuntu" - image: "ubuntu"
tag: "22.04" tag: "22.04"
- image: ubuntu
tag: "24.04"
steps: steps:
- name: checkout - name: checkout
uses: actions/checkout@v3 uses: actions/checkout@v3