diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8824d01f3..e331e69800 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -113,10 +113,11 @@ jobs: env: COVERAGE_FILE: .coverage.${{ matrix.python-version }} - name: Upload coverage file - uses: actions/upload-artifact@v3.1.3 + uses: actions/upload-artifact@v3 with: name: coverage path: .coverage.* + include-hidden-files: true Coverage: needs: tests runs-on: ubuntu-latest @@ -189,7 +190,6 @@ jobs: --health-interval 10s --health-timeout 5s --health-retries 5 - steps: - uses: actions/checkout@v3 - name: Install Python diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml new file mode 100644 index 0000000000..a1994899ad --- /dev/null +++ b/.github/workflows/keepalive.yml @@ -0,0 +1,23 @@ +# Prevent scheduled workflows from being disabled due to inactivity. +# +# GitHub disables scheduled workflows after 60 days of repo inactivity: +# +# > Warning: To prevent unnecessary workflow runs, scheduled workflows may be +# > disabled automatically. +# > ... In a public repository, scheduled workflows are automatically disabled +# > when no repository activity has occurred in 60 days. +# +# https://docs.github.com/en/actions/using-workflows/disabling-and-enabling-a-workflow +# +# This keep-alive workflow triggers whenever one of the scheduled workflows +# listed below completes and prevents that scheduled workflow from being +# disabled. +name: Keepalive +on: + workflow_run: + workflows: [CI] + types: [completed] + branches: [main] +jobs: + Keepalive: + uses: hypothesis/workflows/.github/workflows/keepalive.yml@main