org-rw/.gitea/workflows/pytest.yaml
Sergio Martínez Portela 61246da521
All checks were successful
Testing / pytest (push) Successful in 32s
Testing / mypy (push) Successful in 42s
Merge MyPy and Pytest Gitea actions.
2023-10-15 23:37:45 +02:00

25 lines
631 B
YAML

name: Testing
# run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- run: apt-get update && apt-get install -y python3-pip
- run: pip install -e .
- run: pip install pytest
- run: pytest
mypy:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- run: apt-get update && apt-get install -y python3-pip
- run: pip install -e .
- run: pip install mypy
- run: mypy org_rw