ci setup
This commit is contained in:
parent
d9ba8c5e27
commit
89a92dc8cd
3 changed files with 67 additions and 0 deletions
31
.github/workflows/pull-request-workflow.yml
vendored
Normal file
31
.github/workflows/pull-request-workflow.yml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
name: Verify Pull request is correct
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- develop
|
||||
|
||||
env:
|
||||
GITHUB_USERNAME: "fknives"
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
jobs:
|
||||
run-tests:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
java-version: '11'
|
||||
- name: Run Java Unit Tests
|
||||
run: ./gradlew processor:test
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Java Unit Test Results
|
||||
path: processor/build/reports/tests/test/index.html
|
||||
retention-days: 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue