title: Github Actions workflow : can't change working directory - Error: An error occurred trying to start process '/usr/bin/bash' with working directory
body: <p>I want to create a Github workflow to run the tests of my Flask application at each merge request. This is the first time I'm writing one so I'll take any advice.</p>
  <p>Here are the content of .github/workflows/test.yml :</p>
  <pre><code>name: CI
  on:
    push:
      branches: [ main, develop ]
    pull_request:
      branches: [ main, develop ]
    workflow_dispatch:
  jobs:
    tests:
      runs-on: ubuntu-latest
      steps:
      - uses: actions/checkout@v2
      - name: Set up Python 3.8
        uses: actions/setup-python@v2
        with:
          python-version: 3.8
      - name: Install dependencies
        working-directory: fizzbuzz
        run: |
          pwd 
          ls -al
          python -m pip install --upgrade pip
          pip install -r requirements.txt; 
      - name: Test with pytest
        working-directory: fizzbuzz
        run: |
          python -m pytest
  </code></pre>
  <p>However when <code>pip install -r requirements.txt</code>, I have : <code>Error: An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/fizzbuzz-project/fizzbuzz-project/fizzbuzz'. No such file or directory</code></p>
  <p>My project is organized this way:</p>
  <pre><code>├── docker-compose.yml
  ├── fizzbuzz
  │   ├── api
  │   │   ├── app.py
  │   │   ├── database.py
  │   │   ├── __init__.py
  │   │   ├── models.py
  │   │   ├── static
  │   │   │   └── swagger.yml
  │   │   ├── utils.py
  │   │   └── views.py
  │   ├── Dockerfile
  │   ├── pyproject.toml
  │   ├── requirements.txt
  │   └── tests
  │       ├── test_api.py
  │       └── test_utils.py
  ├── README.md
  </code></pre>
  <p><code>requirements.txt</code> is in a subfolder so I tried to specify a working directory but it doesn't seem to work. I find it strange that in the error message <code>/fizzbuzz-project</code> is written twice in a row : <code>'/home/runner/work/fizzbuzz-project/fizzbuzz-project/fizzbuzz'</code></p>
  <p><code>pwd</code> and <code>ls -al</code> don't seem to be displayed :
  <a href="https://i.stack.imgur.com/V9tbJ.png" rel="nofollow noreferrer">Screenshot of the test job</a></p>
  <p>If I don't specify a working directory then I get the error : <code>ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'</code></p>
  <p>Do you know where the mistake was in what I did? Thank you very much in advance!</p>