Feature/Automated Testing (#1) (#2)

* addition: custom formats imported from dev

* feat. Added scripts to conduct automate testing

* feat. Added CODEOWNERS file for reviews

* feat. Added workflow for automated testing on PR

* change. test script now exits on fail

* fix. Use py3 for running regex script

* fix. Adjusted sys exits on failed tests

* addition. Added placeholder json files from profilarr
This commit is contained in:
Sam Chau
2024-06-01 23:46:35 +09:30
committed by GitHub
parent e6ba8e56f7
commit d5090d1a9f
172 changed files with 15610 additions and 0 deletions

1
.github/CODEOWNERS vendored Normal file
View File

@@ -0,0 +1 @@
* @santiagosayshey

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: |
python3 -m pip install --upgrade pip
pip install colorama
- name: Run regex tests
run: python3 tests/regex.py