chore(ci): group dependencies together #597
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Upgrade python tooling | |
run: python -m pip install --upgrade pip setuptools wheel | |
- name: Install dependencies | |
run: python -m pip install -r requirements.txt | |
- name: Install lint dependencies | |
run: python -m pip install --upgrade mypy | |
- name: Lint | |
run: python -m mypy -p linehaul | |
- name: Install test dependencies | |
run: python -m pip install pytest pretend hypothesis pyaml | |
- name: Test | |
run: python -m pytest test_functions.py tests/unit |