Merge MyPy and Pytest Gitea actions.
Testing / pytest (push) Successful in 32s Details
Testing / mypy (push) Successful in 42s Details

This commit is contained in:
Sergio Martínez Portela 2023-10-15 23:37:45 +02:00
parent da1288a6ba
commit 61246da521
2 changed files with 11 additions and 15 deletions

View File

@ -1,14 +0,0 @@
name: Mypy
# run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
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

View File

@ -1,4 +1,4 @@
name: Pytest
name: Testing
# run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
@ -12,3 +12,13 @@ jobs:
- 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