Skip to content

Add new Pull Request workflow #1

Add new Pull Request workflow

Add new Pull Request workflow #1

Workflow file for this run

name: ci-python-unittest
on:
pull_request:
branches: [master]
jobs:
unittest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
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 dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Unit tests
run: |
pip install .
python -m unittest discover -s ./test -p 'test_*.py'