Some checks failed
Build Docker / Build Images (map[dockerfile:Dockerfile.hsd tag_suffix:-hsd target:hsd]) (push) Successful in 49s
Build Docker / Build Images (map[dockerfile:Dockerfile tag_suffix: target:default]) (push) Successful in 53s
Test Python Compatibility / Python-Compatibility (3.10) (push) Successful in 1m45s
Test Python Compatibility / Python-Compatibility (3.13) (push) Successful in 1m44s
Test Python Compatibility / Python-Compatibility (3.8) (push) Failing after 1m24s
35 lines
918 B
YAML
35 lines
918 B
YAML
name: Test Python Compatibility
|
|
run-name: Test Python Compatibility
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
Python-Compatibility:
|
|
runs-on: [ubuntu-latest, amd]
|
|
container: catthehacker/ubuntu:act-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ['3.8', '3.10', '3.13']
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
if [ -f requirements.txt ]; then
|
|
pip install -r requirements.txt
|
|
fi
|
|
pip install pytest
|
|
|
|
- name: Run tests
|
|
run: |
|
|
echo "Testing with Python ${{ matrix.python-version }}"
|
|
python -m pytest main.py |