CI CD Pipeline - Shasuau/JARVIS-Insights GitHub Wiki
โ๏ธ CI/CD Pipeline
Overview of automated workflows used for testing and deployment.
Workflow Setup
- GitHub Actions triggers on push/PR
- Python 3.8 setup
- Runs pytest
- Requirements auto-installed
Current Status
โ
Working
๐ ๏ธ Extensible for linting, coverage, or deployment in future.
๐งช Adding New Tests
To add new tests and ensure new features are working, follow these steps to add tests.
๐ Test File Location
- All tests must be placed inside the
tests/
directory. - Files should be named with the
test_
prefix, e.g.,test_my_module.py
.
๐งฑ Writing a Test
Each test should follow standard pytest
format:
def test_example_behavior():
result = some_function()
assert result == expected_output