Skip to content

Merge pull request #104 from neicnordic/dependabot/pip/jsonschema-4.19.1 #311

Merge pull request #104 from neicnordic/dependabot/pip/jsonschema-4.19.1

Merge pull request #104 from neicnordic/dependabot/pip/jsonschema-4.19.1 #311

Workflow file for this run

name: Python Unit Tests
on: [push]
jobs:
unit_test:
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest]
python-version: [3.8, 3.9]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install libcurl-devel
run: |
sudo apt update
sudo apt-get install libcurl4-openssl-dev
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Run unit tests for python 3.9
if: ${{ matrix.python-version == '3.9' }}
# env:
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: tox -e py39