Skip to content

Merge pull request #46 from certtools/aaronkaplan_pre-rel_3.3.0 #182

Merge pull request #46 from certtools/aaronkaplan_pre-rel_3.3.0

Merge pull request #46 from certtools/aaronkaplan_pre-rel_3.3.0 #182

#Github Workflow Python unittests
#
#SPDX-FileCopyrightText: 2020 IntelMQ Team
#SPDX-License-Identifier: AGPL-3.0-or-later
name: "Python unittests"
on:
push:
pull_request:
branches: [ develop ]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", 3.11]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install .[dev]
- name: Run unittests
run: |
python -m unittest discover -s tests/