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