Skip to content

Arch Linux updated to Python 3.13 (#108) #513

Arch Linux updated to Python 3.13 (#108)

Arch Linux updated to Python 3.13 (#108) #513

name: execution environment images
on:
push:
branches:
- main
paths:
- .github/workflows/execution-environments.yml
- execution-environments/**
pull_request:
branches:
- main
paths:
- .github/workflows/execution-environments.yml
- execution-environments/**
workflow_dispatch:
# Run once per week (Monday at 08:00 UTC)
schedule:
- cron: '0 8 * * 1'
jobs:
build:
name: 'Build EE image: ${{ matrix.name }}'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: community-ee-base
- name: community-ee-minimal
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: |
sudo apt-get install podman
pip install ansible-core ansible-builder ansible-navigator
- name: Build ${{ matrix.name }} image
env:
NAME: ${{ matrix.name }}
run: |
ansible-builder build -v 3 -t "test-ee:${NAME}"
working-directory: ./execution-environments/${{ matrix.name }}
- name: Run basic tests with ${{ matrix.name }} image
env:
NAME: ${{ matrix.name }}
run: |
ansible-navigator -v --mode stdout --pull-policy never \
--execution-environment-image "test-ee:${NAME}" \
run tests.yml
working-directory: ./execution-environments/${{ matrix.name }}