Skip to content

Merge pull request #3 from zachessesjohnson/copilot/setup-github-acti… #3

Merge pull request #3 from zachessesjohnson/copilot/setup-github-acti…

Merge pull request #3 from zachessesjohnson/copilot/setup-github-acti… #3

Workflow file for this run

name: pytest
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -U pip
if [ -f requirements.txt ]; then
pip install -r requirements.txt
else
pip install numpy pandas scipy statsmodels scikit-learn pytest
fi
- name: Run tests
run: |
pytest -q