Skip to content

PKPDX 35

PKPDX 35 #1546

name: Unit tests (python versions)
on:
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: install sundials
run: |
sudo apt-get update
sudo apt-get install libsundials-dev libsasl2-dev python3-dev libldap2-dev libssl-dev
- name: install pkpdapp
run: |
python --version
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r requirements.txt
- name: run unit tests
run: |
cd pkpdapp && python manage.py test