Skip to content

Commit

Permalink
Merge pull request #67 from DataDog/ncreated/RUMM-346-unify-dependenc…
Browse files Browse the repository at this point in the history
…y-manager-tests

RUMM-346 Unify dependency manager tests
  • Loading branch information
ncreated authored Apr 6, 2020
2 parents 4db2dd9 + af25c32 commit 1091b4e
Show file tree
Hide file tree
Showing 51 changed files with 2,210 additions and 815 deletions.
17 changes: 12 additions & 5 deletions bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,21 +144,28 @@ workflows:
set -e
make test-spm ci=true
- xcode-test:
title: Run SPMProject UITests
title: Run SPMProject tests
inputs:
- scheme: SPMProject
- is_clean_build: 'yes'
- cache_level: none
- project_path: "$BITRISE_SOURCE_DIR/dependency-manager-tests/spm/SPMProject.xcodeproj"
- xcpretty_test_options: --color --report html --output "${BITRISE_DEPLOY_DIR}/SPMProject-ui-tests.html"
- xcpretty_test_options: --color --report html --output "${BITRISE_DEPLOY_DIR}/SPMProject-tests.html"
- script@1.1.6:
title: Test Carthage compatibility
inputs:
- content: |-
#!/usr/bin/env bash
set -e
make test-carthage ci=true
# TODO: RUMM-334 add UITests for Carthage project
- xcode-test:
title: Run CTProject tests
inputs:
- scheme: CTProject
- is_clean_build: 'yes'
- cache_level: none
- project_path: "$BITRISE_SOURCE_DIR/dependency-manager-tests/carthage/CTProject.xcodeproj"
- xcpretty_test_options: --color --report html --output "${BITRISE_DEPLOY_DIR}/CTProject-tests.html"
- script@1.1.6:
title: Test Cocoapods compatibility
inputs:
Expand All @@ -167,13 +174,13 @@ workflows:
set -e
make test-cocoapods ci=true
- xcode-test:
title: Run CPProject UITests
title: Run CPProject tests
inputs:
- scheme: CPProject
- is_clean_build: 'yes'
- cache_level: none
- project_path: "$BITRISE_SOURCE_DIR/dependency-manager-tests/cocoapods/CPProject.xcworkspace"
- xcpretty_test_options: --color --report html --output "${BITRISE_DEPLOY_DIR}/CPProject-ui-tests.html"
- xcpretty_test_options: --color --report html --output "${BITRISE_DEPLOY_DIR}/CPProject-tests.html"

check_example_projects:
description: |-
Expand Down
22 changes: 22 additions & 0 deletions dependency-manager-tests/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.DS_Store
.build
xcuserdata

# Ignore code signing setup
xcconfigs/datadog.xcconfig

# Carthage test
# - ignore `Cartfile.resolved` and `Cartfile` as they will be re-created for every test run
/carthage/Carthage
/carthage/Cartfile.resolved
/carthage/Cartfile

# SPM test
# - ignore `SPMProject.xcodeproj` as it will be re-created for every test run
/spm/SPMProject.xcodeproj

# Cocoapods test
# - ignore `Podfile.lock` and `Podfile` as they will be re-created for every test run
/cocoapods/Pods
/cocoapods/Podfile.lock
/cocoapods/Podfile
6 changes: 0 additions & 6 deletions dependency-manager-tests/carthage/.gitignore

This file was deleted.

Loading

0 comments on commit 1091b4e

Please sign in to comment.