test action #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
# Install other optional dependencies as needed | |
- name: Run tests | |
run: | | |
pytest |