Skip to content

cd into tests dir to run pytest #6

cd into tests dir to run pytest

cd into tests dir to run pytest #6

Workflow file for this run

name: Run Tests
on:
push:
branches: [main] # Trigger the workflow on pushes to the main branch
pull_request:
branches: [main] # Trigger the workflow on pull requests to the main branch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
cd tests
pytest .