| 1 |
name: CI |
| 2 |
on: [pull_request, push] |
| 3 |
jobs: |
| 4 |
#################### Unittests #################### |
| 5 |
unittest: |
| 6 |
runs-on: blacksmith-4vcpu-ubuntu-2204 |
| 7 |
strategy: |
| 8 |
fail-fast: false |
| 9 |
matrix: |
| 10 |
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] |
| 11 |
steps: |
| 12 |
- name: Install system packages |
| 13 |
run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev |
| 14 |
- name: Check out code from GitHub |
| 15 |
uses: actions/checkout@v6 |
| 16 |
- name: Set up Python ${{ matrix.python-version }} |
| 17 |
id: python |
| 18 |
uses: actions/setup-python@main |
| 19 |
with: |
| 20 |
python-version: ${{ matrix.python-version }} |
| 21 |
allow-prereleases: true |
| 22 |
- name: Install dependencies |
| 23 |
run: pip install --upgrade pip setuptools wheel tox tox-gh-actions tox-docker |
| 24 |
- name: Run unittest |
| 25 |
run: tox -v -e ${{ matrix.python-version }}-unit -- -v |