Skip to content

upd

upd #6

Workflow file for this run

name: Run Tests
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
arch: [x64, arm64]
steps:
- name: Checkout code
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: |
if [ $RUNNER_OS == 'Windows' ]; then
$env:PYTHONPATH = "${{ github.workspace }}
pytest tests
else
PYTHONPATH=. pytest tests
fi
shell: bash