Skip to content

Short github action pytest training #157

Short github action pytest training

Short github action pytest training #157

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Test package quality
on: push
permissions:
contents: read
jobs:
run_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Install package
run: |
pip install -e .
- name: Unit tests
run: |
python -m pytest tests/
rm -rf tmp/