Skip to content

Added python tests action #1

Added python tests action

Added python tests action #1

Workflow file for this run

name: Python application tests
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Set PYTHONPATH
run: echo "PYTHONPATH=$(pwd)/pyoutlineapi" >> $GITHUB_ENV
- name: Run tests
run: |
pytest