Skip to content

Commit

Permalink
Final update to python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
montymi authored Mar 7, 2024
1 parent 3c33bc4 commit a304632
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: '3.11.2'
Expand All @@ -35,18 +35,6 @@ jobs:
run: |
pip install -r requirements.txt
- name: Run Python script
id: test_result
- name: Run main test script
run: |
cd src
python test_main.py || echo "Test failed"
- name: Determine test result
run: |
if [[ "${{ steps.test_result.outputs.stdout }}" == *"OK"* ]]; then
echo "Test passed"
else
echo "Test failed"
exit 1
fi
cd src && python test_main.py

0 comments on commit a304632

Please sign in to comment.