Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIR E2E Tests: This PR exists just to test GitHub Actions #3504

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions .github/workflows/pir_end_to_end_tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: PIR E2E Tests

on:
workflow_dispatch:
schedule:
- cron: '0 3 * * 1-5' # 3AM UTC offsetted to legacy to avoid action-junit-report@v4 bug
pull_request:
workflow_call:

jobs:
pir-e2e-tests:
Expand All @@ -18,16 +15,6 @@ jobs:
- xcode-version: "15.4"
runner: macos-14-xlarge

if: |
startsWith(github.event.pull_request.base.ref, 'release/') ||
startsWith(github.event.pull_request.base.ref, 'hotfix/') ||
contains(toJson(github.event.pull_request.files.*.filename), 'DBPE2ETests/') ||
contains(toJson(github.event.pull_request.files.*.filename), 'LocalPackages/DataBrokerProtection/') ||
contains(toJson(github.event.pull_request.files.*.filename), 'LocalPackages/DataBrokerProtection/') ||
contains(toJson(github.event.pull_request.files.*.filename), 'DuckDuckGoDBPBackgroundAgent/') ||
contains(toJson(github.event.pull_request.files.*.filename), 'DuckDuckGo.xcodeproj/project.pbxproj') ||
github.event_name == 'schedule'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.runner }}
cancel-in-progress: true
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/pir_end_to_end_tests_files_changed_trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: PIR E2E Tests files changed trigger

on:
pull_request:
branches-ignore: # skip running on these branches since they are trigged by a different workflow
- hotfix/*
- release/*
paths: ['DBPE2ETests/**', 'LocalPackages/DataBrokerProtection/**', 'DuckDuckGoDBPBackgroundAgent/**', 'DuckDuckGo.xcodeproj/project.pbxproj']

jobs:
call-sub-workflow:
uses: ./.github/workflows/pir_end_to_end_tests.yml
secrets: inherit
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: PIR E2E Tests Scheduled and release branches trigger

on:
schedule:
- cron: '0 3 * * 1-5' # 3AM UTC offsetted to legacy to avoid action-junit-report@v4 bug
pull_request:
branches:
- hotfix/*
- release/*

jobs:
call-sub-workflow:
uses: ./.github/workflows/pir_end_to_end_tests.yml
secrets: inherit
2 changes: 1 addition & 1 deletion DuckDuckGoDBPBackgroundAgent/Tests
Original file line number Diff line number Diff line change
@@ -1 +1 @@
TestsSSSS
TestsSSSSdsfasfsd
Loading