delete src/data_preprocessing.py file #26
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: Pytest | |
on: | |
push: | |
branches: | |
- main | |
- feature_thomas | |
- feature_moheth | |
- feature_bardia | |
- feature_komal | |
- feature_ashkan | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Run linting tests | |
run: pytest --pylint | |
continue-on-error: true | |
- name: Run tests and generate XML report | |
run: pytest --junitxml=pytest-report.xml | |
continue-on-error: false | |
- name: Upload test results | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pytest-results | |
path: pytest-report.xml | |
- name: Notify on success | |
if: success() | |
run: echo "Tests passed successfully" | |
- name: Notify on failure | |
if: failure() | |
run: echo "Tests failed" |