ubuntu 24 #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v4 | |
- name: Install python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- run: | | |
python -m pip install pre-commit | |
pre-commit run --all-files | |
integration: | |
name: Integration Test | |
strategy: | |
matrix: | |
os: | |
- ubuntu-24.04 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
- name: Install python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install ansible | |
run: pip3 install ansible | |
- name: Setup playbook | |
run: | | |
cp inventory.ini.example inventory.ini | |
cp env.yml.example env.yml | |
- name: Integration Test | |
run: ansible-playbook -i inventory.ini --limit local ubuntu24.yml | |
env: | |
ANSIBLE_FORCE_COLOR: '1' |