Files
firewalletbrowser/.gitea/workflows/test.yml
Nathan Woodburn 2d51882d20
Some checks failed
Build Docker / Build Images (map[dockerfile:Dockerfile tag_suffix: target:default]) (push) Successful in 49s
Build Docker / Build Images (map[dockerfile:Dockerfile.hsd tag_suffix:-hsd target:hsd]) (push) Successful in 48s
Test Python Compatibility / Python-Compatibility (3.10.18) (push) Failing after 19s
Test Python Compatibility / Python-Compatibility (3.13.7) (push) Failing after 19s
Test Python Compatibility / Python-Compatibility (3.6.15) (push) Failing after 21s
Test Python Compatibility / Python-Compatibility (3.7.17) (push) Failing after 20s
Test Python Compatibility / Python-Compatibility (3.8.18) (push) Failing after 20s
Test Python Compatibility / Python-Compatibility (3.9.23) (push) Failing after 19s
fix: Specify python minor version number
2025-09-02 15:00:40 +10:00

40 lines
1.2 KiB
YAML

name: Test Python Compatibility
run-name: Test Python Compatibility
on:
push:
jobs:
Python-Compatibility:
runs-on: [ubuntu-latest, amd]
strategy:
matrix:
python-version: ['3.6.15', '3.7.17', '3.8.18', '3.9.23', '3.10.18', '3.13.7']
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
- name: Check compatibility
run: |
# Add any additional compatibility checks if needed
python --version
python -c "import sys; print(f'Python {sys.version_info.major}.{sys.version_info.minor} compatibility test passed')"