![github-ci-result](https://istack.dev59.com/NFoGe.webp)
name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Test App
run: ./gradlew test
- name: Archive Rest Results
uses: actions/upload-artifact@v1
with:
name: test-results
path: app/build/reports/tests
continue-on-error
。我对它没有太多的经验,但如果你想在特定的job
或step
中不用担心错误,你可以使用continue-on-error: true
来允许失败,并且不将整个job
/workflow
标记为失败。 - Joshua Pinter