GitHub Actions not running tests in a specific directory despite correct configuration
I'm working on a personal project and I'm working with an scenario where my GitHub Actions workflow is not running tests located in a subdirectory of my project. The structure of my repository looks like this: ``` /my-repo âââ .github â âââ workflows â âââ ci.yml âââ src âââ tests âââ unit âââ test_example.py âââ test_other.py ``` In my `ci.yml`, I've set up the workflow to run on pushes and pull requests to the `main` branch. Here's a relevant snippet from the workflow file: ```yaml name: CI on: push: branches: - main pull_request: branches: - main jobs: test: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.9' - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - name: Run tests run: | cd tests/unit pytest ``` Despite setting everything up, I noticed that the tests are not being executed. I get the following output in the Actions tab: ``` behavior: No tests found. ``` I've verified that all dependencies are installed correctly and that `pytest` is available in the environment. I also tried running the tests locally with the same command, and they work perfectly. I've also ensured that the paths are correct, but the workflow seems to be skipping over the `tests/unit` directory entirely. Has anyone experienced a similar scenario, or can anyone spot what might be going wrong in my configuration? I've read through the documentation and tried a few suggestions, but I'm exploring on this one. I'd really appreciate any guidance on this.