Skip to content

Commit bf8d439

Browse files
authored
Fix E2E tests, cleanups (#73)
1 parent 532a671 commit bf8d439

File tree

11 files changed

+23
-54
lines changed

11 files changed

+23
-54
lines changed

e2e/bitrise.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
44
app:
55
envs:
66
# Shared test configs
7-
- SAMPLE_APP_URL: https://github.com/bitrise-samples/sample-apps-carthage-objc.git
7+
- SAMPLE_APP_URL: https://github.com/bitrise-io/Bitrise-iOS-Carthage-Sample.git
8+
- SAMPLE_APP_BRANCH: main
89
- ORIG_BITRISE_SOURCE_DIR: $BITRISE_SOURCE_DIR
9-
- CARTHAGE_OPTIONS: --platform ios --project-directory $BITRISE_SOURCE_DIR/_tmp
10+
- CARTHAGE_OPTIONS: --platform ios --use-xcframeworks --project-directory $BITRISE_SOURCE_DIR/_tmp
1011
- TEST_CACHE: false
1112
- SKIP_RUN: false
1213
- XC_VER: ""
@@ -71,7 +72,7 @@ workflows:
7172
inputs:
7273
- repository_url: $SAMPLE_APP_URL
7374
- clone_into_dir: $ORIG_BITRISE_SOURCE_DIR/_tmp
74-
- branch: master
75+
- branch: $SAMPLE_APP_BRANCH
7576
- change-workdir:
7677
title: Switch working dir to test / _tmp dir
7778
inputs:

go.mod

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/bitrise-steplib/steps-carthage
22

3-
go 1.16
3+
go 1.17
44

55
require (
66
github.com/bitrise-io/go-steputils v1.0.1
@@ -9,3 +9,12 @@ require (
99
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
1010
github.com/stretchr/testify v1.7.0
1111
)
12+
13+
require (
14+
github.com/davecgh/go-spew v1.1.1 // indirect
15+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
16+
github.com/hashicorp/go-retryablehttp v0.7.0 // indirect
17+
github.com/pmezard/go-difflib v1.0.0 // indirect
18+
github.com/stretchr/objx v0.3.0 // indirect
19+
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
20+
)

step.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,7 @@ is_always_run: false
4141
is_skippable: false
4242
deps:
4343
brew:
44-
- name: go
4544
- name: carthage
46-
apt_get:
47-
- name: golang
48-
bin_name: go
4945
toolkit:
5046
go:
5147
package_name: github.com/bitrise-steplib/steps-carthage

vendor/github.com/hashicorp/go-cleanhttp/go.mod

Lines changed: 0 additions & 3 deletions
This file was deleted.

vendor/github.com/hashicorp/go-retryablehttp/go.mod

Lines changed: 0 additions & 8 deletions
This file was deleted.

vendor/github.com/hashicorp/go-retryablehttp/go.sum

Lines changed: 0 additions & 10 deletions
This file was deleted.

vendor/github.com/hashicorp/go-version/go.mod

Lines changed: 0 additions & 1 deletion
This file was deleted.

vendor/github.com/stretchr/objx/go.mod

Lines changed: 0 additions & 8 deletions
This file was deleted.

vendor/github.com/stretchr/objx/go.sum

Lines changed: 0 additions & 8 deletions
This file was deleted.

vendor/gopkg.in/yaml.v3/go.mod

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)