diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..48f6c02 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,31 @@ +name: Run Tests +on: + push: + branches: + - main + pull_request: + branches: + - main +jobs: + test: + runs-on: ubuntu-lastest + name: Run Tests + env: + TESTING: true + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.10.12' + + - name: Setup Python Virtual Environment + run: python -m venv python3-virtualenv + + - name: Install Dependencies + run: python3-virtualenv/bin/pip install -r requirements.txt + + - name: Run Tests + run: ./run_test.sh