adding requirements.txt #3
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: Pipeline Feedback | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- project/** | |
jobs: | |
pipeline-feedback: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project Reps. | |
uses: actions/checkout@v3 | |
- name: Set python version 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r project/requirements.txt | |
- name: Check if directory exists and tests.sh location | |
run: | | |
ls -l ./project | |
find ./project -name "tests.sh" | |
- name: Run test.sh | |
run: | | |
chmod +x ./project/tests.sh | |
./project/tests.sh | |
echo "> Pipeline Test Done!" |