diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..41190f1 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,26 @@ +name: test + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + run_tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: set up python 3.8 + uses: actions/setup-python@v5 + with: + python-version: 3.8 + + - name: install dependencies + run: (cd services/bot && pip install -r requirements.txt) + + - name: run pytest + run: (cd services/bot && pytest test.py)