Skip to content

Merge pull request #157 from KoenigMjr/bugfix/descriptor #468

Merge pull request #157 from KoenigMjr/bugfix/descriptor

Merge pull request #157 from KoenigMjr/bugfix/descriptor #468

Workflow file for this run

name: pytest
permissions:
contents: read
on:
push:
pull_request:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{matrix.python-version}} at ${{matrix.os}}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
mkdir -p log/
- name: Run Flake8
run: |
flake8 .
- name: Test with pytest
env:
RUN_NETWORK_TESTS: "true"
run: |
pytest -c 'test/pytest.ini'
- name: Save artifacts
uses: actions/upload-artifact@v4
with:
name: test-${{ matrix.python-version }}.log
path: log/test.log