Skip to content

Commit

Permalink
Switch to GitHub Actions (#1616)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpeal committed Aug 28, 2020
1 parent 8e6b39a commit ba6d6ee
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 41 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: "Validate Gradle Wrapper"
on: [push, pull_request]
on:
pull_request:
push:
branches:
- master

jobs:
validation:
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Verify
on:
pull_request:
push:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Run Lint
run: ./gradlew lintDebug
- name: Lint Results
uses: actions/upload-artifact@v1
with:
name: Lint Results
path: lottie/build/reports
unit-test:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Run Unit Tests
run: ./gradlew testDebugUnitTest
- name: Lint Results
uses: actions/upload-artifact@v1
with:
name: Lint Results
path: lottie/build/reports
deploy:
runs-on: ubuntu-latest
needs: [lint, unit-test]
#if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: "Deploy Snapshot"
run: ./deploy_snapshot.sh

40 changes: 0 additions & 40 deletions .travis.yml

This file was deleted.

0 comments on commit ba6d6ee

Please sign in to comment.