Merge MyPy and Pytest Gitea actions.
This commit is contained in:
parent
da1288a6ba
commit
61246da521
@ -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
|
|
@ -1,4 +1,4 @@
|
|||||||
name: Pytest
|
name: Testing
|
||||||
# run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
# run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
@ -12,3 +12,13 @@ jobs:
|
|||||||
- run: pip install -e .
|
- run: pip install -e .
|
||||||
- run: pip install pytest
|
- run: pip install pytest
|
||||||
- run: 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
|
||||||
|
Loading…
Reference in New Issue
Block a user