🚨 Full Secure Repo Overhaul #75
This file contains hidden or 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: Build and Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Build Application | |
run: | | |
echo "Building the application..." | |
python main.py | |
- name: Run Tests | |
run: | | |
echo "Running tests..." | |
pytest tests/ | |
- name: AI-Driven Testing | |
run: | | |
echo "Running AI-based tests..." | |
python scripts/process_and_explain.py |