Skip to content

Commit

Permalink
PIA-865: Updaete e2e ci pipeline workflow (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
kp-laura-sempere authored Nov 16, 2023
1 parent 299a594 commit 7e8af26
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 22 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: pia_vpn_ios
name: build_and_test
on:
pull_request:
workflow_dispatch:
Expand Down Expand Up @@ -29,12 +29,6 @@ jobs:

- name: Install Fastlane
run: gem install fastlane

- name: Set credentials in fastlane env
run: echo "TEST_RUNNER_PIA_TEST_USER=${{ secrets.PIA_ACCOUNT_USERNAME}}"\n"TEST_RUNNER_PIA_TEST_PASSWORD=${{ secrets.PIA_ACCOUNT_PASSWORD }}" > fastlane/.env

- name: Check fastlane env
run: cat fastlane/.env

- name: Run unit tests
run: bundle exec fastlane tests
Expand Down
20 changes: 10 additions & 10 deletions PIA VPN.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -497,12 +497,12 @@
remoteGlobalIDString = 0EFB606F203D7A2C0095398C;
remoteInfo = "PIA VPN AdBlocker";
};
69B70AB62ACBF51C0072A09D /* PBXContainerItemProxy */ = {
69CB24A22B051CED00D83A52 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 291C6374183EBC210039EC03 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 0EE2200B1F4EF307002805AE;
remoteInfo = "PIA VPN dev";
remoteGlobalIDString = 291C637B183EBC210039EC03;
remoteInfo = "PIA VPN";
};
8269A6E1251CB5E3000B4DBF /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
Expand Down Expand Up @@ -1804,7 +1804,7 @@
buildRules = (
);
dependencies = (
69B70AB72ACBF51C0072A09D /* PBXTargetDependency */,
69CB24A32B051CED00D83A52 /* PBXTargetDependency */,
);
name = "PIA-VPN_E2E_Tests";
packageProductDependencies = (
Expand Down Expand Up @@ -1932,7 +1932,7 @@
};
69B70AAF2ACBF51C0072A09D = {
CreatedOnToolsVersion = 14.3.1;
TestTargetID = 0EE2200B1F4EF307002805AE;
TestTargetID = 291C637B183EBC210039EC03;
};
8269A6D4251CB5E0000B4DBF = {
CreatedOnToolsVersion = 12.0;
Expand Down Expand Up @@ -2588,10 +2588,10 @@
target = 0EFB606F203D7A2C0095398C /* PIA VPN AdBlocker */;
targetProxy = 0EFB607E203D893E0095398C /* PBXContainerItemProxy */;
};
69B70AB72ACBF51C0072A09D /* PBXTargetDependency */ = {
69CB24A32B051CED00D83A52 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 0EE2200B1F4EF307002805AE /* PIA VPN dev */;
targetProxy = 69B70AB62ACBF51C0072A09D /* PBXContainerItemProxy */;
target = 291C637B183EBC210039EC03 /* PIA VPN */;
targetProxy = 69CB24A22B051CED00D83A52 /* PBXContainerItemProxy */;
};
8269A6E2251CB5E3000B4DBF /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
Expand Down Expand Up @@ -3197,7 +3197,7 @@
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = "PIA VPN dev";
TEST_TARGET_NAME = "PIA VPN";
};
name = Debug;
};
Expand Down Expand Up @@ -3229,7 +3229,7 @@
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = "PIA VPN dev";
TEST_TARGET_NAME = "PIA VPN";
};
name = Release;
};
Expand Down
8 changes: 4 additions & 4 deletions PIA VPN.xcodeproj/xcshareddata/xcschemes/PIA VPN.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "NO"
buildForTesting = "YES"
buildForRunning = "NO"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7EB8D11227CCF4C20030B060"
BuildableName = "PIA VPN UITests.xctest"
BlueprintName = "PIA VPN UITests"
BlueprintIdentifier = "69B70AAF2ACBF51C0072A09D"
BuildableName = "PIA-VPN_E2E_Tests.xctest"
BlueprintName = "PIA-VPN_E2E_Tests"
ReferencedContainer = "container:PIA VPN.xcodeproj">
</BuildableReference>
</BuildActionEntry>
Expand Down
3 changes: 2 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ platform :ios do
scheme: "PIA VPN dev",
testplan: "PIA-VPN-e2e-simulator",
devices: ["iPhone 15"],
prelaunch_simulator: true
prelaunch_simulator: true,
test_without_building: true
)
end

Expand Down

0 comments on commit 7e8af26

Please sign in to comment.