Skip to content

[RELENG-7422] πŸ“ Add documentation #267

[RELENG-7422] πŸ“ Add documentation

[RELENG-7422] πŸ“ Add documentation #267

Workflow file for this run

---
name: tests
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Trunk Check
uses: trunk-io/trunk-action@v1
tests:
runs-on: ubuntu-latest
strategy:
matrix:
test: [unit, api]
steps:
- uses: actions/checkout@v3
- name: install poetry
run: pip install poetry
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: poetry
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run pytest tests/${{ matrix.test }} --cov=. --cov-report=xml
- name: Upload test coverage
uses: codecov/codecov-action@v3
with:
flags: ${{ matrix.test }}
if: always()