Skip to content

Extend CI Python version coverage #25

Extend CI Python version coverage

Extend CI Python version coverage #25

Workflow file for this run

# This workflow will run any files matching "tests/*_test.py" using the Python
# unittest module.
name: CI Testing
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r ./requirements.txt
- name: Run unit tests
run: |
python -m unittest discover -p *_test.py tests/unit/
- name: Run integration tests
run: |
python -m unittest discover -p *_test.py tests/integration/
- name: Run live tests
if: github.repository == 'leonhard-s/auraxium' && github.event_name != 'pull_request'
env:
SERVICE_ID: ${{secrets.REPO_SERVICE_ID}}
run: |
python -m unittest discover -p *_test.py tests/live/