From ff15b005c967d982e4945d51f8610b6c0e4a51bd Mon Sep 17 00:00:00 2001 From: Emad Rad Date: Tue, 3 Oct 2023 12:32:28 +0330 Subject: [PATCH] ci: test action added --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..2a821fc9 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: Run tests + +on: + pull_request: + branches: [master] + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: 3.8 + cache: "pip" + - name: Upgrade pip + run: python -m pip install --upgrade pip setuptools + - name: Install dependencies + run: pip install black isort mypy pylint pytest tutor types-docutils types-PyYAML types-setuptools + - name: Python tests + run: make test \ No newline at end of file