Last active
February 7, 2021 06:32
-
-
Save SnowCait/feb6513cd6d8f8116a68b972067c3588 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main | |
on: | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/[email protected] | |
- name: lint | |
run: ktlint | |
unit-test: | |
runs-on: ubuntu-latest | |
needs: [lint] | |
steps: | |
- name: checkout | |
uses: actions/[email protected] | |
- name: unit test | |
run: test | |
scenario-test: | |
runs-on: ubuntu-latest | |
needs: [lint] | |
if: !contains(github.event.pull_request.labels.*.name, 'WIP') | |
steps: | |
- name: checkout | |
uses: actions/[email protected] | |
- name: scenario test | |
run: scenario_test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment