diff --git a/.github/workflows/dependabot_automerge.yml b/.github/workflows/dependabot_automerge.yml index 5bd31d34..b4ae4aa8 100644 --- a/.github/workflows/dependabot_automerge.yml +++ b/.github/workflows/dependabot_automerge.yml @@ -20,6 +20,7 @@ jobs: uses: hmarr/auto-approve-action@v3.1.0 with: github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }} + # Checkout action is required for token to persist - name: Enable auto-merge for Dependabot PRs run: gh pr merge --auto --merge "$PR_URL" # Use Github CLI to merge automatically the PR @@ -27,4 +28,3 @@ jobs: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }} - diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2d7ebd6e..7e31f0d9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -62,15 +62,6 @@ jobs: jupyter nbconvert --to python ./docs/tutorials/*.ipynb for f in docs/tutorials/*.py; do ipython "$f"; done - # if it is run on ubuntu-latest, python 3.9, then create the badge - - name: Pytest coverage comment - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' }} - id: coverage-comment - uses: MishaKav/pytest-coverage-comment@v1.1.39 - with: - pytest-coverage-path: ./pytest-coverage.txt - github-token: ${{ secrets.PYTEST_COVERAGE }} - - name: Check the output coverage if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' }} shell: bash