feat. Added workflow for automated testing on PR

This commit is contained in:
santiagosayshey 2024-06-01 11:03:02 +09:30
parent bf9f57a519
commit 3c54ae8570
1 changed files with 27 additions and 0 deletions

27
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Run Tests
on:
push:
branches: [dev]
pull_request:
branches: [dev]
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install colorama
- name: Run regex tests
run: python ./tests/regex.py