diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index e11aded..4cfde62 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -3,7 +3,7 @@ name: pytest on: push: branches: - - main + - master pull_request: schedule: - cron: '0 8 * * *' @@ -16,9 +16,14 @@ jobs: matrix: python-version: ["3.10", "3.9", "3.8", "3.7"] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 'fetch master' + run: | + git fetch origin master - name: 'Set up Python ${{ matrix.python-version }}' - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: '${{ matrix.python-version }}' @@ -29,7 +34,7 @@ jobs: - name: 'Install package' run: | - make install-poetry + pip3 install poetry make install - name: 'List installed packages'