diff --git a/.github/workflows/workflow-test.yml b/.github/workflows/workflow-test.yml new file mode 100644 index 0000000..c090a44 --- /dev/null +++ b/.github/workflows/workflow-test.yml @@ -0,0 +1,26 @@ +name: simple-pytest-django +on: + pull_request: + branches: + ['main'] +jobs: + pytest-django: + runs-on: ubuntu-latest + + steps: + - name: checkout repository + uses: actions/checkout@v4 + + - name: configure python environment + uses: actions/setup-python@v4 + with: + python-version: '>=3.10' + + - name: install depends + run: | + python -m pip install --upgrade pip + pip install -r requirements-dev.txt + + - name: run pytests + run: | + pytest \ No newline at end of file