From 61246da52170fbbb3ec95b8519189c265ce7fad2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Sun, 15 Oct 2023 23:37:45 +0200 Subject: [PATCH] Merge MyPy and Pytest Gitea actions. --- .gitea/workflows/mypy.yaml | 14 -------------- .gitea/workflows/pytest.yaml | 12 +++++++++++- 2 files changed, 11 insertions(+), 15 deletions(-) delete mode 100644 .gitea/workflows/mypy.yaml diff --git a/.gitea/workflows/mypy.yaml b/.gitea/workflows/mypy.yaml deleted file mode 100644 index 3c1604d..0000000 --- a/.gitea/workflows/mypy.yaml +++ /dev/null @@ -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 diff --git a/.gitea/workflows/pytest.yaml b/.gitea/workflows/pytest.yaml index 8839413..fe4b961 100644 --- a/.gitea/workflows/pytest.yaml +++ b/.gitea/workflows/pytest.yaml @@ -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