8000 Improve docs and tests · radiac/django-style@484a6a7 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Improve docs and tests #1

Improve docs and tests

Improve docs and tests #1

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
test:
name: py-${{ matrix.python }}
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python: "3.11"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/requirements.txt
- name: Set Python path
run: |
echo "PYTHONPATH=." >> $GITHUB_ENV
- name: Test
run: |
pytest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
name: ${{ matrix.python }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
0