forked from cashapp/paparazzi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from WhoopInc/mayank/release/1.102.0
Upgrade to Paparazzi 1.3.1 [Whoop fork release - 1.2.0]
- Loading branch information
Showing
610 changed files
with
16,449 additions
and
2,528 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
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,5 @@ | ||
* text=auto eol=lf | ||
|
||
*.bat text eol=crlf | ||
*.jar binary | ||
*.png binary |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,13 @@ | ||
name: build | ||
|
||
on: [push, pull_request] | ||
on: | ||
pull_request: {} | ||
|
||
push: | ||
branches: | ||
- '**' | ||
tags-ignore: | ||
- '**' | ||
|
||
env: | ||
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false" | ||
|
@@ -13,21 +20,15 @@ jobs: | |
os: [ | ||
macOS-latest, | ||
windows-latest, | ||
# Copied from SqlDelight: https://github.com/cashapp/sqldelight/blame/master/.github/workflows/PR.yml#L13-L18 | ||
# TL;DR looks like libraries installed on ubuntu-latest conflicts, resulting in failed builds | ||
# Also, see: https://github.com/touchlab/SQLiter/pull/38#issuecomment-867171789 | ||
ubuntu-18.04 | ||
ubuntu-latest | ||
] | ||
java-version: [11, 12, 16, 18] | ||
java-version: [17, 18] | ||
|
||
runs-on: ${{matrix.os}} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Validate Gradle Wrapper | ||
uses: gradle/[email protected] | ||
uses: actions/checkout@v3 | ||
|
||
- name: Configure JDK | ||
uses: actions/setup-java@v3 | ||
|
@@ -38,10 +39,7 @@ jobs: | |
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
|
||
- name: Run Paparazzi Tests | ||
run: ./gradlew -p paparazzi check | ||
|
||
- name: Run Sample Tests | ||
- name: Run All Tests | ||
run: ./gradlew check | ||
|
||
- name: Upload Test Failures | ||
|
@@ -50,8 +48,8 @@ jobs: | |
with: | ||
name: test-failures | ||
path: | | ||
**/build/reports/tests/test/ | ||
**/out/failures/ | ||
**/build/reports/tests/*/ | ||
**/build/paparazzi/failures/ | ||
paparazzi/paparazzi-gradle-plugin/src/test/projects/**/build/reports/paparazzi/images/ | ||
publish: | ||
|
@@ -62,16 +60,16 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3.1.0 | ||
uses: actions/checkout@v3 | ||
|
||
- name: Configure JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: 11 | ||
java-version: 17 | ||
|
||
- name: Publish Artifacts | ||
run: ./gradlew -p paparazzi publishMavenPublicationToMavenCentralRepository paparazzi-gradle-plugin:publishPluginMavenPublicationToMavenCentralRepository paparazzi-gradle-plugin:publishPaparazziPluginMarkerMavenPublicationToMavenCentralRepository --no-parallel | ||
run: ./gradlew publishMavenPublicationToMavenCentralRepository paparazzi-gradle-plugin:publishAllPublicationsToMavenCentralRepository --no-parallel | ||
env: | ||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} | ||
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} | ||
|
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,18 @@ | ||
name: gradle-wrapper | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'gradlew' | ||
- 'gradlew.bat' | ||
- 'gradle/wrapper/' | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Validate Gradle Wrapper | ||
uses: gradle/wrapper-validation-action@v1 |
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
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,63 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '**' | ||
|
||
env: | ||
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false" | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Configure JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: 17 | ||
|
||
- name: Publish Artifacts | ||
run: ./gradlew publishMavenPublicationToMavenCentralRepository paparazzi-gradle-plugin:publishAllPublicationsToMavenCentralRepository --no-parallel | ||
env: | ||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} | ||
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} | ||
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ARTIFACT_SIGNING_PRIVATE_KEY }} | ||
|
||
- name: Extract release notes | ||
id: release_notes | ||
uses: ffurrer2/extract-release-notes@v1 | ||
|
||
- name: Create release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
body: ${{ steps.release_notes.outputs.release_notes }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Prep mkdocs | ||
run: .github/workflows/prepare_mkdocs.sh | ||
|
||
- name: Build mkdocs | ||
run: | | ||
pip3 install -r .github/workflows/requirements.txt | ||
mkdocs build | ||
- name: Deploy docs to website | ||
if: success() | ||
uses: JamesIves/github-pages-deploy-action@releases/v3 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: site | ||
CLEAN: true |
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
click==7.1.2 | ||
future==0.18.2 | ||
Jinja2==2.11.3 | ||
click==8.1.5 | ||
future==0.18.3 | ||
Jinja2==3.1.2 | ||
livereload==2.6.3 | ||
lunr==0.5.8 | ||
Markdown==3.2.2 | ||
MarkupSafe==1.1.1 | ||
mkdocs==1.2.3 | ||
mkdocs-macros-plugin==0.4.9 | ||
mkdocs-material==5.5.7 | ||
mkdocs-material-extensions==1.0 | ||
Pygments==2.7.4 | ||
pymdown-extensions==8.0 | ||
python-dateutil==2.8.1 | ||
PyYAML==5.4 | ||
lunr==0.6.2 | ||
Markdown<3.5 | ||
MarkupSafe==2.1.3 | ||
mkdocs==1.4.3 | ||
mkdocs-macros-plugin==1.0.2 | ||
mkdocs-material==9.1.18 | ||
mkdocs-material-extensions==1.1.1 | ||
Pygments==2.15.1 | ||
pymdown-extensions==10.1 | ||
python-dateutil==2.8.2 | ||
PyYAML==6.0 | ||
repackage==0.7.3 | ||
six==1.15.0 | ||
termcolor==1.1.0 | ||
tornado==6.0.4 | ||
six==1.16.0 | ||
termcolor==2.3.0 | ||
tornado==6.3.2 |
Oops, something went wrong.