Fix data directory path issues in GitHub Actions workflow #5
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: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up job | |
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: Copy data directory | |
run: | | |
mkdir -p ./data | |
cp -r ./data ./data | |
- 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: Update README | |
run: python scripts/update_readme.py |