From e95428cf4823dd2bfbbc6d2d50e3391be909d004 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Fri, 21 Feb 2020 12:09:37 +0000 Subject: [PATCH 1/6] added generated tests --- .github/workflows/Tests.yml | 187 ++++++++++++++++++++++++++++++++++++ 1 file changed, 187 insertions(+) create mode 100644 .github/workflows/Tests.yml diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml new file mode 100644 index 0000000..ab4f19e --- /dev/null +++ b/.github/workflows/Tests.yml @@ -0,0 +1,187 @@ +name: Tests + +on: [push, pull_request] + +jobs: + linux-50: + name: Linux (Swift 5.0) + runs-on: ubuntu-latest + container: swift:5.0 + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Swift Version + run: swift --version + - name: Make Logs Directory + run: mkdir logs + - name: Build (Debug) + run: swift build -v -c debug + - name: Build (Release) + run: swift build -v -c release + - name: Test (Debug) + run: swift test -v -c debug + - name: Test (Release) + run: swift test -v -c release -Xswiftc -enable-testing + - name: Upload Logs + uses: actions/upload-artifact@v1 + with: + name: logs + path: logs + - name: Slack Notification + uses: elegantchaos/slatify@master + if: always() + with: + type: ${{ job.status }} + job_name: 'Linux (Swift 5.0)' + mention_if: 'failure' + url: ${{ secrets.SLACK_WEBHOOK }} + + linux-51: + name: Linux (Swift 5.1) + runs-on: ubuntu-latest + container: swift:5.1 + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Swift Version + run: swift --version + - name: Make Logs Directory + run: mkdir logs + - name: Build (Debug) + run: swift build -v -c debug + - name: Build (Release) + run: swift build -v -c release + - name: Test (Debug) + run: swift test -v -c debug + - name: Test (Release) + run: swift test -v -c release -Xswiftc -enable-testing + - name: Upload Logs + uses: actions/upload-artifact@v1 + with: + name: logs + path: logs + - name: Slack Notification + uses: elegantchaos/slatify@master + if: always() + with: + type: ${{ job.status }} + job_name: 'Linux (Swift 5.1)' + mention_if: 'failure' + url: ${{ secrets.SLACK_WEBHOOK }} + + macOS-iOS-tvOS-watchOS: + name: macOS/iOS/tvOS/watchOS + runs-on: macOS-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Swift Version + run: swift --version + - name: Make Logs Directory + run: mkdir logs + - name: Xcode Version + run: xcodebuild -version + - name: XC Pretty + run: sudo gem install xcpretty-travis-formatter + - name: Build (macOS/Debug) +run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-macOS-build-debug.log | xcpretty + - name: Build (macOS/Release) +run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-macOS-build-release.log | xcpretty + - name: Test (macOS/Debug) + run: | + GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) + echo "*$GOTPACKAGE*" + if [[ $GOTPACKAGE != "" ]] + then + SCHEME="DictionaryCoding-Package" + else + SCHEME="DictionaryCoding" + fi + set -o pipefail + xcodebuild test -workspace . -scheme $SCHEME -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-macOS-test-debug.log | xcpretty + - name: Test (macOS/Release) + run: | + GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) + echo "*$GOTPACKAGE*" + if [[ $GOTPACKAGE != "" ]] + then + SCHEME="DictionaryCoding-Package" + else + SCHEME="DictionaryCoding" + fi + set -o pipefail + xcodebuild test -workspace . -scheme $SCHEME -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ENABLE_TESTABILITY=YES | tee logs/xcodebuild-macOS-test-release.log | xcpretty + - name: Build (iOS/Debug) +run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-iOS-build-debug.log | xcpretty + - name: Build (iOS/Release) +run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-iOS-build-release.log | xcpretty + - name: Test (iOS/Debug) + run: | + GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) + echo "*$GOTPACKAGE*" + if [[ $GOTPACKAGE != "" ]] + then + SCHEME="DictionaryCoding-Package" + else + SCHEME="DictionaryCoding" + fi + set -o pipefail + xcodebuild test -workspace . -scheme $SCHEME -destination "name=iPhone 11" -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-iOS-test-debug.log | xcpretty + - name: Test (iOS/Release) + run: | + GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) + echo "*$GOTPACKAGE*" + if [[ $GOTPACKAGE != "" ]] + then + SCHEME="DictionaryCoding-Package" + else + SCHEME="DictionaryCoding" + fi + set -o pipefail + xcodebuild test -workspace . -scheme $SCHEME -destination "name=iPhone 11" -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ENABLE_TESTABILITY=YES | tee logs/xcodebuild-iOS-test-release.log | xcpretty + - name: Build (tvOS/Debug) +run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-tvOS-build-debug.log | xcpretty + - name: Build (tvOS/Release) +run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-tvOS-build-release.log | xcpretty + - name: Test (tvOS/Debug) + run: | + GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) + echo "*$GOTPACKAGE*" + if [[ $GOTPACKAGE != "" ]] + then + SCHEME="DictionaryCoding-Package" + else + SCHEME="DictionaryCoding" + fi + set -o pipefail + xcodebuild test -workspace . -scheme $SCHEME -destination "name=Apple TV" -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-tvOS-test-debug.log | xcpretty + - name: Test (tvOS/Release) + run: | + GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) + echo "*$GOTPACKAGE*" + if [[ $GOTPACKAGE != "" ]] + then + SCHEME="DictionaryCoding-Package" + else + SCHEME="DictionaryCoding" + fi + set -o pipefail + xcodebuild test -workspace . -scheme $SCHEME -destination "name=Apple TV" -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ENABLE_TESTABILITY=YES | tee logs/xcodebuild-tvOS-test-release.log | xcpretty + - name: Build (watchOS/Debug) +run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-watchOS-build-debug.log | xcpretty + - name: Build (watchOS/Release) +run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-watchOS-build-release.log | xcpretty + - name: Upload Logs + uses: actions/upload-artifact@v1 + with: + name: logs + path: logs + - name: Slack Notification + uses: elegantchaos/slatify@master + if: always() + with: + type: ${{ job.status }} + job_name: 'macOS/iOS/tvOS/watchOS' + mention_if: 'failure' + url: ${{ secrets.SLACK_WEBHOOK }} + From f215d918c51eeb4693d8440583213457ea42ac12 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Fri, 21 Feb 2020 12:14:06 +0000 Subject: [PATCH 2/6] fixed syntax error --- .github/workflows/Tests.yml | 16 ++++++++-------- .github/workflows/swift.yml | 19 ------------------- 2 files changed, 8 insertions(+), 27 deletions(-) delete mode 100644 .github/workflows/swift.yml diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index ab4f19e..dc1470d 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -84,9 +84,9 @@ jobs: - name: XC Pretty run: sudo gem install xcpretty-travis-formatter - name: Build (macOS/Debug) -run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-macOS-build-debug.log | xcpretty + run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-macOS-build-debug.log | xcpretty - name: Build (macOS/Release) -run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-macOS-build-release.log | xcpretty + run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-macOS-build-release.log | xcpretty - name: Test (macOS/Debug) run: | GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) @@ -112,9 +112,9 @@ run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCodi set -o pipefail xcodebuild test -workspace . -scheme $SCHEME -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ENABLE_TESTABILITY=YES | tee logs/xcodebuild-macOS-test-release.log | xcpretty - name: Build (iOS/Debug) -run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-iOS-build-debug.log | xcpretty + run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-iOS-build-debug.log | xcpretty - name: Build (iOS/Release) -run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-iOS-build-release.log | xcpretty + run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-iOS-build-release.log | xcpretty - name: Test (iOS/Debug) run: | GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) @@ -140,9 +140,9 @@ run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCodi set -o pipefail xcodebuild test -workspace . -scheme $SCHEME -destination "name=iPhone 11" -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ENABLE_TESTABILITY=YES | tee logs/xcodebuild-iOS-test-release.log | xcpretty - name: Build (tvOS/Debug) -run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-tvOS-build-debug.log | xcpretty + run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-tvOS-build-debug.log | xcpretty - name: Build (tvOS/Release) -run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-tvOS-build-release.log | xcpretty + run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-tvOS-build-release.log | xcpretty - name: Test (tvOS/Debug) run: | GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) @@ -168,9 +168,9 @@ run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCodi set -o pipefail xcodebuild test -workspace . -scheme $SCHEME -destination "name=Apple TV" -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ENABLE_TESTABILITY=YES | tee logs/xcodebuild-tvOS-test-release.log | xcpretty - name: Build (watchOS/Debug) -run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-watchOS-build-debug.log | xcpretty + run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-watchOS-build-debug.log | xcpretty - name: Build (watchOS/Release) -run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-watchOS-build-release.log | xcpretty + run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-watchOS-build-release.log | xcpretty - name: Upload Logs uses: actions/upload-artifact@v1 with: diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml deleted file mode 100644 index 7626f12..0000000 --- a/.github/workflows/swift.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Swift - -on: [push] - -jobs: - build: - - runs-on: macOS-latest - - steps: - - uses: actions/checkout@v1 - - name: List Apps - run: ls /Applications - - name: Swift Version - run: swift --version - - name: Select Xcode - run: sudo xcode-select -s /Applications/Xcode_11.2.1.app - - name: Run tests - run: swift test From 993b44b912051565f94051e85e48f7c37618a15b Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Fri, 21 Feb 2020 12:21:55 +0000 Subject: [PATCH 3/6] fix release build on mac - don't build tests --- .../xcschemes/DictionaryCoding.xcscheme | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 .swiftpm/xcode/xcshareddata/xcschemes/DictionaryCoding.xcscheme diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/DictionaryCoding.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/DictionaryCoding.xcscheme new file mode 100644 index 0000000..f076bb4 --- /dev/null +++ b/.swiftpm/xcode/xcshareddata/xcschemes/DictionaryCoding.xcscheme @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 95da15cc6ba6dba701b1124ed5ee829cf46dcfd0 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Fri, 21 Feb 2020 12:30:49 +0000 Subject: [PATCH 4/6] Tweaked Mac tests. Disabled Linux tests. --- .github/workflows/Tests.yml | 78 +++---------------------------------- 1 file changed, 6 insertions(+), 72 deletions(-) diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index dc1470d..71b236d 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -3,72 +3,6 @@ name: Tests on: [push, pull_request] jobs: - linux-50: - name: Linux (Swift 5.0) - runs-on: ubuntu-latest - container: swift:5.0 - steps: - - name: Checkout - uses: actions/checkout@v1 - - name: Swift Version - run: swift --version - - name: Make Logs Directory - run: mkdir logs - - name: Build (Debug) - run: swift build -v -c debug - - name: Build (Release) - run: swift build -v -c release - - name: Test (Debug) - run: swift test -v -c debug - - name: Test (Release) - run: swift test -v -c release -Xswiftc -enable-testing - - name: Upload Logs - uses: actions/upload-artifact@v1 - with: - name: logs - path: logs - - name: Slack Notification - uses: elegantchaos/slatify@master - if: always() - with: - type: ${{ job.status }} - job_name: 'Linux (Swift 5.0)' - mention_if: 'failure' - url: ${{ secrets.SLACK_WEBHOOK }} - - linux-51: - name: Linux (Swift 5.1) - runs-on: ubuntu-latest - container: swift:5.1 - steps: - - name: Checkout - uses: actions/checkout@v1 - - name: Swift Version - run: swift --version - - name: Make Logs Directory - run: mkdir logs - - name: Build (Debug) - run: swift build -v -c debug - - name: Build (Release) - run: swift build -v -c release - - name: Test (Debug) - run: swift test -v -c debug - - name: Test (Release) - run: swift test -v -c release -Xswiftc -enable-testing - - name: Upload Logs - uses: actions/upload-artifact@v1 - with: - name: logs - path: logs - - name: Slack Notification - uses: elegantchaos/slatify@master - if: always() - with: - type: ${{ job.status }} - job_name: 'Linux (Swift 5.1)' - mention_if: 'failure' - url: ${{ secrets.SLACK_WEBHOOK }} - macOS-iOS-tvOS-watchOS: name: macOS/iOS/tvOS/watchOS runs-on: macOS-latest @@ -89,7 +23,7 @@ jobs: run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-macOS-build-release.log | xcpretty - name: Test (macOS/Debug) run: | - GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) + GOTPACKAGE=$(xcodebuild -workspace . -list | (grep DictionaryCoding-Package || true)) echo "*$GOTPACKAGE*" if [[ $GOTPACKAGE != "" ]] then @@ -101,7 +35,7 @@ jobs: xcodebuild test -workspace . -scheme $SCHEME -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-macOS-test-debug.log | xcpretty - name: Test (macOS/Release) run: | - GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) + GOTPACKAGE=$(xcodebuild -workspace . -list | (grep DictionaryCoding-Package || true)) echo "*$GOTPACKAGE*" if [[ $GOTPACKAGE != "" ]] then @@ -117,7 +51,7 @@ jobs: run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-iOS-build-release.log | xcpretty - name: Test (iOS/Debug) run: | - GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) + GOTPACKAGE=$(xcodebuild -workspace . -list | (grep DictionaryCoding-Package || true)) echo "*$GOTPACKAGE*" if [[ $GOTPACKAGE != "" ]] then @@ -129,7 +63,7 @@ jobs: xcodebuild test -workspace . -scheme $SCHEME -destination "name=iPhone 11" -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-iOS-test-debug.log | xcpretty - name: Test (iOS/Release) run: | - GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) + GOTPACKAGE=$(xcodebuild -workspace . -list | (grep DictionaryCoding-Package || true)) echo "*$GOTPACKAGE*" if [[ $GOTPACKAGE != "" ]] then @@ -145,7 +79,7 @@ jobs: run: set -o pipefail; xcodebuild clean build -workspace . -scheme DictionaryCoding -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-tvOS-build-release.log | xcpretty - name: Test (tvOS/Debug) run: | - GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) + GOTPACKAGE=$(xcodebuild -workspace . -list | (grep DictionaryCoding-Package || true)) echo "*$GOTPACKAGE*" if [[ $GOTPACKAGE != "" ]] then @@ -157,7 +91,7 @@ jobs: xcodebuild test -workspace . -scheme $SCHEME -destination "name=Apple TV" -configuration Debug CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | tee logs/xcodebuild-tvOS-test-debug.log | xcpretty - name: Test (tvOS/Release) run: | - GOTPACKAGE=$(xcodebuild -workspace . -list | grep DictionaryCoding-Package) + GOTPACKAGE=$(xcodebuild -workspace . -list | (grep DictionaryCoding-Package || true)) echo "*$GOTPACKAGE*" if [[ $GOTPACKAGE != "" ]] then From 3f31a97aa0830ea2aca8deb21c0cffe3ccecc2f3 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Fri, 21 Feb 2020 12:41:18 +0000 Subject: [PATCH 5/6] Added badges to top of README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 30c8d30..9288583 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ +[![Test results][tests shield]][actions] [![Latest release][release shield]][releases] [![Swift 5.0][swift shield]][swift] ![Platforms: iOS, macOS, tvOS, watchOS, Linux][platforms shield] + +[swift]: https://swift.org + +[releases]: https://github.com/elegantchaos/DictionaryCoding/releases +[actions]: https://github.com/elegantchaos/DictionaryCoding/actions + +[release shield]: https://img.shields.io/github/v/release/elegantchaos/DictionaryCoding +[swift shield]: https://img.shields.io/badge/swift-5.0-F05138.svg "Swift 5.0" +[platforms shield]: https://img.shields.io/badge/platforms-iOS_macOS_tvOS_watchOS_Linux-lightgrey.svg?style=flat "iOS, macOS, tvOS, watchOS, Linux" +[tests shield]: https://github.com/elegantchaos/DictionaryCoding/workflows/tests/badge.svg + # DictionaryCoding This is an implementation of Swift's Encoder/Decoder protocols which uses `NSDictionary` as its underlying container mechanism. From 6acced2a18b137841348c3468292056e1882e724 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Fri, 21 Feb 2020 12:42:03 +0000 Subject: [PATCH 6/6] fixed tests badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9288583..ade7118 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [release shield]: https://img.shields.io/github/v/release/elegantchaos/DictionaryCoding [swift shield]: https://img.shields.io/badge/swift-5.0-F05138.svg "Swift 5.0" [platforms shield]: https://img.shields.io/badge/platforms-iOS_macOS_tvOS_watchOS_Linux-lightgrey.svg?style=flat "iOS, macOS, tvOS, watchOS, Linux" -[tests shield]: https://github.com/elegantchaos/DictionaryCoding/workflows/tests/badge.svg +[tests shield]: https://github.com/elegantchaos/DictionaryCoding/workflows/Tests/badge.svg # DictionaryCoding