Skip to content

changed nose test to pytest (#397) #113

changed nose test to pytest (#397)

changed nose test to pytest (#397) #113

Workflow file for this run

name: CI
on: [pull_request, push]
jobs:
#################### Unittests ####################
unittest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- name: Install system packages
run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev
- name: Check out code from GitHub
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
id: python
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install --upgrade pip setuptools wheel tox tox-gh-actions tox-docker
- name: Run unittest
run: tox -v -e ${{ matrix.python-version }}-unit -- -v