Add Python 3.12 to package info #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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.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/ |