Skip to content

test action

test action #6

Workflow file for this run

name: Python Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install build system requirements
run: |
pip install setuptools wheel
- name: Install dependencies
run: |
pip install requests==2.31.0 psutil==5.9.8
- name: Install optional dependencies (dev)
run: |
pip install pytest==7.4.0 requests_mock==1.11.0
- name: Install testing dependencies
run: |
pip install requests_mock==1.12.1
- name: Run tests
run: |
PYTHONPATH=. pytest