Skip to content

Commit

Permalink
Merge pull request #34 from hotwired/enable-ci
Browse files Browse the repository at this point in the history
Enable CI tests
  • Loading branch information
jayohms authored May 16, 2024
2 parents 84a372d + 978071b commit 4add534
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on: [push]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'

- name: Checkout code
uses: actions/checkout@v2

- name: Run lint
run: ./gradlew core:lint

- name: Run tests
run: ./gradlew testRelease

- name: Archive test results
uses: actions/upload-artifact@v2
if: failure()
with:
name: test-results-report
path: core/build/reports/tests/testReleaseUnitTest

0 comments on commit 4add534

Please sign in to comment.