Skip to content

Update pytest-unit-tests.yml #56

Update pytest-unit-tests.yml

Update pytest-unit-tests.yml #56

name: pytest-unit-tests
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
pull_request:
branches:
- master
jobs:
pytest:
name: unit testing
runs-on: ubuntu-latest
steps:
- name: Checkout simple_functions
uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: 3.10
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e .
pip install -r requirements.txt
- name: Test with pytest
run: |
pytest tests/