From 0e67a76cafba22d8217e0b5091c346a6b7d0cf78 Mon Sep 17 00:00:00 2001 From: "Bryan \"Beege\" Berry" Date: Sat, 11 Feb 2023 19:22:33 +0900 Subject: [PATCH] ci: added testing workflow --- .github/workflows/tests.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/tests.yaml diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..219dec5 --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,22 @@ +name: "Tests" + +on: + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + # This step checks out a copy of your repository. + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Install dependencies + run: python -m pip install -r requirements.txt -r requirements.dev.txt + - name: Run tests + run: python -m pytest