diff --git a/.github/workflows/code-tester.yml b/.github/workflows/code-tester.yml new file mode 100644 index 0000000..56c525a --- /dev/null +++ b/.github/workflows/code-tester.yml @@ -0,0 +1,25 @@ +name: Pull Request Review Bot + +on: + pull_request: + branch: [ master ] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Download Repo In Docker + uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.10' + + - name: Install dependencies + run: pip install -r requirements.txt + + - name: Run tests and save output + id: test + run: pytest diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..31ef97d --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +numpy +pytest \ No newline at end of file