Skip to content

add pypi publishing to build #39

add pypi publishing to build

add pypi publishing to build #39

name: Run PyTests on Ubuntu
on: [push, pull_request]
jobs:
build:
name: Run tests (Ubuntu)
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.x"]
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 pytest pytest-cov
pip install -r requirements.txt
- name: Test with pytest
run: |
coverage run -m pytest tests -v