diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index b4c5c9e..cf5f9fa 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -1,6 +1,8 @@ name: .NET Tests on: + schedule: + - cron: "0 6 * * *" # Run daily at 6:00 AM UTC push: branches: [main] pull_request: @@ -53,7 +55,7 @@ jobs: gaffer_upload_token: ${{ secrets.GAFFER_UPLOAD_TOKEN }} report_path: dotnet-examples/reports/xunit-results.trx commit_sha: ${{ github.event.pull_request.head.sha || github.sha }} - branch: ${{ github.ref_name }} + branch: ${{ github.head_ref || github.ref_name }} test_framework: dotnet test_suite: xunit @@ -65,7 +67,7 @@ jobs: gaffer_upload_token: ${{ secrets.GAFFER_UPLOAD_TOKEN }} report_path: dotnet-examples/reports/nunit-results.trx commit_sha: ${{ github.event.pull_request.head.sha || github.sha }} - branch: ${{ github.ref_name }} + branch: ${{ github.head_ref || github.ref_name }} test_framework: dotnet test_suite: nunit @@ -77,7 +79,7 @@ jobs: gaffer_upload_token: ${{ secrets.GAFFER_UPLOAD_TOKEN }} report_path: dotnet-examples/reports/mstest-results.trx commit_sha: ${{ github.event.pull_request.head.sha || github.sha }} - branch: ${{ github.ref_name }} + branch: ${{ github.head_ref || github.ref_name }} test_framework: dotnet test_suite: mstest diff --git a/.github/workflows/jest.yml b/.github/workflows/jest.yml index 2de7c05..d674ad9 100644 --- a/.github/workflows/jest.yml +++ b/.github/workflows/jest.yml @@ -1,6 +1,8 @@ name: Jest Tests on: + schedule: + - cron: '0 6 * * *' # Run daily at 6:00 AM UTC push: branches: [main] pull_request: diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index eb96f7c..b1bf2ac 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -1,6 +1,8 @@ name: pytest Tests on: + schedule: + - cron: '0 6 * * *' # Run daily at 6:00 AM UTC push: branches: [main] pull_request: diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 5b2bb6e..a3fb12b 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -1,6 +1,8 @@ name: Ruby RSpec Tests on: + schedule: + - cron: '0 6 * * *' # Run daily at 6:00 AM UTC push: branches: [main] pull_request: diff --git a/.github/workflows/vitest.yml b/.github/workflows/vitest.yml index 2a60de0..6ad92f5 100644 --- a/.github/workflows/vitest.yml +++ b/.github/workflows/vitest.yml @@ -1,6 +1,8 @@ name: Vitest Tests on: + schedule: + - cron: '0 6 * * *' # Run daily at 6:00 AM UTC push: branches: [main] pull_request: diff --git a/README.md b/README.md index db4ddbe..ed8e308 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # Gaffer Examples +[![Tests](https://img.shields.io/endpoint?url=https%3A%2F%2Fapp.gaffer.sh%2Fapi%2Fbadges%2F2f40f258-daad-4e82-89f0-8c673237594d%2Fhealth.json&style=flat)](https://app.gaffer.sh/projects/2f40f258-daad-4e82-89f0-8c673237594d) +[![Coverage](https://img.shields.io/endpoint?url=https%3A%2F%2Fapp.gaffer.sh%2Fapi%2Fbadges%2F2f40f258-daad-4e82-89f0-8c673237594d%2Fcoverage.json&style=flat)](https://app.gaffer.sh/projects/2f40f258-daad-4e82-89f0-8c673237594d) +[![Flaky](https://img.shields.io/endpoint?url=https%3A%2F%2Fapp.gaffer.sh%2Fapi%2Fbadges%2F2f40f258-daad-4e82-89f0-8c673237594d%2Fflaky.json&style=flat)](https://app.gaffer.sh/projects/2f40f258-daad-4e82-89f0-8c673237594d) + Example test projects demonstrating [Gaffer](https://gaffer.sh) integration for various test frameworks. Parser Check: December 25 2025 - 1:10PM - Merry Christmas