-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Purge needed to happen as the history contains large binary files blowing up the sie of the repository. In some cases, when transient dependency PactSwiftMockServer is downloaded it can pull more than 3GB of history.
- Loading branch information
0 parents
commit 0746420
Showing
188 changed files
with
15,901 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
name: Bug report | ||
about: Create a bug report to help us improve. | ||
title: 'Bug: ...' | ||
labels: "bug" | ||
assignees: '' | ||
--- | ||
# 🌎 Environment | ||
|
||
- Xcode: [e.g. 11.4] | ||
- Platform: [e.g. iOS] | ||
- Version/Release: [e.g. 1.0.2] | ||
- Dependency manager: [e.g. Carthage 0.38] | ||
|
||
# 💬 Description | ||
|
||
<!-- A clear and concise description of what the bug is. --> | ||
|
||
# 🦶 Reproduction Steps | ||
|
||
<!-- Provide an example of the setup, specific state and exact steps that would help us reproduce the issue --> | ||
|
||
Steps to reproduce the behavior: | ||
1. Do this... | ||
2. Run this `xcrun ...` | ||
3. Etc. | ||
|
||
# 🤔 Expected Results | ||
|
||
<!-- A clear and concise description of what you expected to happen. --> | ||
|
||
# 😲 Actual Results | ||
|
||
<!-- A clear and concise description of what actually happened. --> | ||
|
||
## 🌳 Logs | ||
|
||
``` | ||
Include any logs or command output if applicable... | ||
``` | ||
|
||
## 📄 Stack Traces | ||
|
||
``` | ||
Include a stack trace if applicable... | ||
``` | ||
|
||
# 🤝 Relationships | ||
|
||
- Related PRs or Issues: #xxx, #yyy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
name: Feature Request | ||
about: Create a feature request to enhance the project. | ||
title: '' | ||
labels: 'enhancement' | ||
assignees: '' | ||
|
||
--- | ||
|
||
# 🗣 Context | ||
|
||
<!-- Describe the context... --> | ||
|
||
# 💬 Narrative | ||
|
||
When ... | ||
I want ... | ||
So that ... | ||
|
||
# 📝 Notes | ||
|
||
<!-- Provide additional notes... --> | ||
|
||
# 🏗 Design | ||
|
||
<!-- Provide design example, screenshot, text input/output etc --> | ||
|
||
# ✅ Acceptance Criteria | ||
|
||
**GIVEN** ... | ||
**WHEN** ... | ||
**THEN** ... | ||
|
||
# 🚫 Out of Scope | ||
|
||
<!-- Describe what is out of scope --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Question | ||
about: Just looking for some information about a thing | ||
title: 'Question: ...' | ||
labels: "question" | ||
assignees: '' | ||
--- | ||
# ❔ Question | ||
|
||
<!-- Clearly articulate what you are trying to get an answer to and what is it you would like to have more clarity about. --> | ||
|
||
# 💬 Context | ||
|
||
<!-- Providing context about your question will help prepare a better answer. Please also consider providing some information about your system environment, versions of your tools, etc. --> | ||
|
||
|
||
# 🤝 Relationships | ||
|
||
- Other Related Issues: #xxx, #yyy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: Task | ||
about: Create a technical task that needs doing. | ||
title: 'Task: ...' | ||
labels: "task" | ||
assignees: '' | ||
--- | ||
# ❕ Problem Statement | ||
|
||
<!-- Clearly describe what the problem this tech task is attempting to address. --> | ||
|
||
# 💬 Task Description | ||
|
||
<!-- A clear and concise description of the task. --> | ||
|
||
# 👩🔧 Technical Design Notes | ||
|
||
<!-- Provide any technical design notes here. --> | ||
|
||
# 🤝 Relationships | ||
|
||
- Other Related Issues: #xxx, #yyy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
- ☝️ Provide a short but descriptive title for this PR. | ||
- 🏷 Remember to label your pull request appropriately and select appropriate code reviewers. | ||
|
||
_Provide a more descriptive summary of the changes in this PR here._ | ||
|
||
# 📝 Summary of Changes | ||
|
||
Changes proposed in this pull request: | ||
|
||
- Resolves issue #99999 by doing the thing with another thing | ||
- Add more details here... | ||
- ... | ||
|
||
# ⚠️ Items of Note | ||
|
||
_Document anything here that you think the reviewer(s) of this PR may need to know, or would be of specific interest._ | ||
|
||
# 🧐🗒 Reviewer Notes | ||
|
||
## 💁 Example | ||
|
||
_Add an example of using the changes you've implemented (eg, a screenshot or text dump of the output)._ | ||
|
||
## 🔨 How To Test | ||
|
||
_Provide instructions on how to test your changes._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
codecov: | ||
notify: | ||
require_ci_to_pass: yes | ||
|
||
coverage: | ||
precision: 2 | ||
round: down | ||
range: "70...90" | ||
|
||
status: | ||
project: yes | ||
patch: yes | ||
changes: no | ||
|
||
ignore: | ||
- "Tests/**" | ||
|
||
parsers: | ||
gcov: | ||
branch_detection: | ||
conditional: yes | ||
loop: yes | ||
method: no | ||
macro: no | ||
|
||
comment: | ||
layout: "header, diff" | ||
behavior: default | ||
require_changes: no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
updateDocsWhiteList: | ||
- BUG | ||
- Chore | ||
- minor | ||
|
||
updateDocsComment: > | ||
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update some of our documentation based on your changes. | ||
requestInfoReplyComment: > | ||
We would appreciate it if you could provide us with more info about this issue/pr! | ||
requestInfoLabelToAdd: request-more-info | ||
|
||
newPRWelcomeComment: > | ||
:tada: Thanks so much for opening your first PR in this project! We really do appreciate your help! :heart: | ||
firstPRMergeComment: > | ||
Congrats on merging your first pull request in this project! :tada: You're awesome! :metal: | ||
newIssueWelcomeComment: > | ||
Thanks for opening this issue, a maintainer will get back to you shortly! cc/ @surpher | ||
sentimentBotToxicityThreshold: .7 | ||
|
||
sentimentBotReplyComment: > | ||
Please be sure to review the code of conduct and be respectful of other users. cc/ @surpher | ||
lockThreads: | ||
toxicityThreshold: .7 | ||
numComments: 2 | ||
setTimeInHours: 72 | ||
replyComment: > | ||
This thread is being locked due to exceeding the toxicity minimums. cc/ @surpher |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Always validate the PR title and commits (this is important because release notes are automated and we rely on semantic commit titles) | ||
titleAndCommits: true | ||
|
||
# By default types specified in commitizen/conventional-commit-types is used. | ||
# See: https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json | ||
# You can override the valid types | ||
types: | ||
- feat | ||
- feature | ||
- fix | ||
- docs | ||
- style | ||
- refactor | ||
- perf | ||
- test | ||
- build | ||
- ci | ||
- chore | ||
- revert | ||
- tech |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Build | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- ready_for_review | ||
workflow_dispatch: | ||
|
||
env: | ||
RUST_TARGET_PATH: pact-reference | ||
|
||
jobs: | ||
test_ios: | ||
name: "🤖 Test iOS" | ||
runs-on: ${{ matrix.host }} | ||
|
||
strategy: | ||
fail-fast: true | ||
matrix: | ||
host: [macos-13, macos-14] | ||
platform: [ios, macos] | ||
include: | ||
- platform: ios | ||
scheme: "PactSwift-iOS" | ||
destination: "platform=iOS Simulator,name=iPhone 15 Pro" | ||
- platform: macos | ||
scheme: "PactSwift-macOS" | ||
destination: "arch=x86_64" | ||
- host: macos-13 | ||
xcode: 14.3.1 | ||
- host: macos-14 | ||
xcode: 15.3 | ||
|
||
env: | ||
SCHEME: "PactSwift-iOS" | ||
DESTINATION: ${{ matrix.destination }} | ||
|
||
concurrency: | ||
group: test_${{ matrix.host }}_${{ matrix.xcode }}_iOS_${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
steps: | ||
- name: "🧑💻 Checkout repository" | ||
uses: actions/checkout@v3 | ||
|
||
- name: "🏭 Use Xcode ${{ matrix.xcode }}" | ||
run: sudo xcode-select -switch /Applications/Xcode_${{ matrix.xcode }}.app | ||
|
||
- name: "🧪 Run tests (xcodebuild)" | ||
run: | | ||
set -o pipefail && \ | ||
xcodebuild -resolvePackageDependencies && \ | ||
xcodebuild test \ | ||
-project PactSwift.xcodeproj \ | ||
-scheme "$SCHEME"\ | ||
-destination "$DESTINATION" \ | ||
| xcbeautify | ||
# - name: "⚗️ Run tests (swift)" | ||
# run: | | ||
# swift build | ||
# swift test -c release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
name: Build Pull Request | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- '!main' | ||
|
||
jobs: | ||
test_macos: | ||
name: "🤖 Test macOS" | ||
runs-on: macos-13 | ||
|
||
env: | ||
XCODE_VERSION: 14.3.1 | ||
|
||
concurrency: | ||
group: test_macos13_darwin_$SCHEME_${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
steps: | ||
- name: "🧑💻 Checkout repository" | ||
uses: actions/checkout@v3 | ||
|
||
- name: "⚙️ Use Xcode ${{ env.XCODE_VERSION }}" | ||
run: sudo xcode-select -switch /Applications/Xcode_${{ env.XCODE_VERSION }}.app | ||
|
||
- name: "🧰 Prepare tools" | ||
run: | | ||
Scripts/prepare_build_tools | ||
- name: "🧪 xcodebuild clean test" | ||
run: | | ||
set -o pipefail && xcodebuild -resolvePackageDependencies | xcbeautify && xcodebuild clean test -project PactSwift.xcodeproj -scheme "PactSwift-macOS" -destination "arch=x86_64" | xcbeautify | ||
- name: "⚗️ swift test" | ||
run: | | ||
set -o pipefail && swift test -c release | ||
test_ios: | ||
name: "🤖 Test iOS" | ||
runs-on: macos-13 | ||
needs: [test_macos] | ||
|
||
env: | ||
SCHEME: "PactSwift-iOS" | ||
DESTINATION: "platform=iOS Simulator,name=iPhone 14 Pro" | ||
XCODE_VERSION: 14.3.1 | ||
|
||
concurrency: | ||
group: test_macos13_ios_$SCHEME_${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
steps: | ||
- name: "🧑💻 Checkout repository" | ||
uses: actions/checkout@v3 | ||
|
||
- name: "⚙️ Use Xcode ${{ env.XCODE_VERSION }}" | ||
run: sudo xcode-select -switch /Applications/Xcode_${{ env.XCODE_VERSION }}.app | ||
|
||
- name: "🧰 Prepare tools" | ||
run: | | ||
Scripts/prepare_build_tools | ||
- name: "♘ Test for Carthage" | ||
run: | | ||
set -o pipefail && carthage build --no-skip-current --use-xcframeworks | ||
- name: "🧪 xcodebuild clean test" | ||
run: | | ||
set -o pipefail && xcodebuild -resolvePackageDependencies | xcbeautify && xcodebuild clean test -project PactSwift.xcodeproj -scheme "PactSwift-iOS" -destination "platform=iOS Simulator,name=iPhone 14 Pro" | xcbeautify | ||
- name: "⚗️ swift test" | ||
run: | | ||
swift test -c release | ||
after_success: | ||
needs: [test_ios] | ||
name: "🚚 Build demo projects" | ||
if: github.ref == 'refs/heads/main' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "🚚 Build demo projects" | ||
run: | | ||
curl -X POST https://api.github.com/repos/surpher/pact-swift-examples/dispatches -H 'Accept: application/vnd.github.everest-preview+json' -u ${{ secrets.PACT_SWIFT_TOKEN }} --data '{"event_type":"PactSwift - ${{ github.event.head_commit.message }}"}' | ||
Oops, something went wrong.