Skip to content

feature: write a constraints.txt file next to build-order.json #50

feature: write a constraints.txt file next to build-order.json

feature: write a constraints.txt file next to build-order.json #50

Workflow file for this run

# Based on https://fedoramagazine.org/github-actions-use-podman-to-run-fedora-linux/
name: CI
on:
pull_request:
jobs:
unit:
name: unit
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
steps:
- name: Get source
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install tox
- name: Run tests
run: tox -e py
e2e:
name: e2e
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
test-script:
- bootstrap
- report_missing_dependency
- build_with_build_order
- override
steps:
- name: Get source
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install tox
- name: Run tests
run: ./e2e/test_${{ matrix.test-script }}.sh