chore(deps-dev): bump psutil from 7.0.0 to 7.1.3 #742
This file contains hidden or 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: Run tests on PR | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - development | |
| - hotfix | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| - ready_for_review | |
| jobs: | |
| test: | |
| if: github.event.pull_request.draft == false | |
| name: Run tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Setup Python version | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install ".[all]" | |
| pip install ".[dev]" | |
| - name: Run all Feluda Unit Tests | |
| run: | | |
| echo "Running all Feluda Unit Tests folder..." | |
| for test_file in $(find tests/feluda_unit_tests -type f -name "test_*.py"); do | |
| echo "############# Running file: $test_file #############" | |
| python -m unittest $test_file | |
| if [ $? -ne 0 ]; then | |
| echo "Tests in $test_file failed" | |
| exit 1 | |
| fi | |
| echo "Run Successful" | |
| done |