Skip to content

Commit

Permalink
Add Fastfile
Browse files Browse the repository at this point in the history
Remove scripts folder
  • Loading branch information
dogo committed May 1, 2023
1 parent fa0bf14 commit 64ba8ea
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 10 deletions.
9 changes: 0 additions & 9 deletions .github/scripts/test_app.sh

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/Testing.yml
Expand Up @@ -32,7 +32,7 @@ jobs:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Running SketchKit Unit Tests
run: exec ./.github/scripts/test_app.sh
run: fastlane tests
shell: bash

- name: Upload coverage to Codecov
Expand Down
26 changes: 26 additions & 0 deletions fastlane/Fastfile
@@ -0,0 +1,26 @@
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do
desc "Run All SketchKit Unit Tests"
lane :tests do
run_tests(project: "SketchKit.xcodeproj",
devices: ["iPhone 11 (16.2)"],
scheme: "SketchKit-Package",
code_coverage: true)
end
end
32 changes: 32 additions & 0 deletions fastlane/README.md
@@ -0,0 +1,32 @@
fastlane documentation
----

# Installation

Make sure you have the latest version of the Xcode command line tools installed:

```sh
xcode-select --install
```

For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane)

# Available Actions

## iOS

### ios tests

```sh
[bundle exec] fastlane ios tests
```

Run All SketchKit Unit Tests

----

This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.

More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools).

The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools).

0 comments on commit 64ba8ea

Please sign in to comment.