Merge pull request #9 from aerin-brown-codes/redesign #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
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.7' | |
- name: Setup Python Virtual Environment | |
run: python -m venv python3-virtualenv | |
- name: Install Dependencies | |
run: python3-virtualenv/bin/pip install -r requirements.txt | |
- name: Grant File Permissions | |
run: chmod +x run-test.sh | |
- name: Run Tests | |
run: ./run-test.sh |