Add Codeium documentation generation to GitHub Actions workflow #4
This file contains 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: CI/CD Pipeline | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements_pip.txt | |
- name: Run feature extraction tests | |
run: python scripts/test_feature_extraction.py | |
- name: Run model building tests | |
run: python scripts/test_model_building.py | |
- name: Generate documentation | |
run: | | |
codeium generate-docs . |