diff options
| author | nea <romangraef@gmail.com> | 2021-08-13 01:04:47 +0200 |
|---|---|---|
| committer | nea <romangraef@gmail.com> | 2021-08-13 01:04:47 +0200 |
| commit | d56753eb5de3049e094ed3a612c500c9516600c5 (patch) | |
| tree | ff721f072e9ef476e668f1d4feb61befe66a0c09 /.github/workflows | |
| parent | 06d9212e5901b8b73e17bb8938b0c4542a42770b (diff) | |
| download | webos-d56753eb5de3049e094ed3a612c500c9516600c5.tar.gz webos-d56753eb5de3049e094ed3a612c500c9516600c5.tar.bz2 webos-d56753eb5de3049e094ed3a612c500c9516600c5.zip | |
tests
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/test.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..fe7d374 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,38 @@ +on: + - push + +name: Tests + +jobs: + test: + name: Run NodeJS Tests + steps: + - uses: actions/checkout@v2 + - name: Setup Java + with: + java-version: 16 + - name: Get Allure history + uses: actions/checkout@v2 + if: always() + continue-on-error: true + with: + ref: gh-pages + path: gh-pages + - name: Run Gradle Tests + run: ./gradlew jsNodeTest --stacktrace + - name: Generate Allure Report + if: always() + uses: simple-elf/allure-report-action@master + with: + allure_results: build/test-results/jsNodeTest + allure_history: allure-history + + + - name: Deploy report to Github Pages + if: always() + uses: peaceiris/actions-gh-pages@v2 + env: + PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PUBLISH_BRANCH: gh-pages + PUBLISH_DIR: allure-history + |
