diff options
| author | innovaker <66737976+innovaker@users.noreply.github.com> | 2020-11-27 14:57:22 +0000 |
|---|---|---|
| committer | Pete Johanson <peter@peterjohanson.com> | 2020-11-28 17:00:37 -0500 |
| commit | 7babe7f1856ed0a586d0e1715639de806b28bc48 (patch) | |
| tree | 05de912ead2227176c847773c0a5e2a77d25d4ec /.github/workflows/test.yml | |
| parent | e6d863c61090c5f236657f67d688fafa349a5e55 (diff) | |
refactor(workflows): align GitHub workflow conventions
Cosmetic pass at aligning the conventions used in ZMK's workflows with GitHub's examples. Based on examples found at:
https://github.com/actions/starter-workflows
PR #433
Diffstat (limited to '.github/workflows/test.yml')
| -rw-r--r-- | .github/workflows/test.yml | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8e66ab7..ada22ed 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,3 +1,5 @@ +name: Tests + on: push: paths: @@ -10,20 +12,15 @@ on: - "app/tests/**" - "app/src/**" -name: Test - jobs: integration_test: runs-on: ubuntu-latest - name: Integration Tests steps: # To use this repository's private action, # you must check out the repository - name: Checkout uses: actions/checkout@v2 - name: Cache west modules - timeout-minutes: 2 - continue-on-error: true uses: actions/cache@v2 env: cache-name: cache-zephyr-modules @@ -38,33 +35,35 @@ jobs: ${{ runner.os }}-build-${{ env.cache-name }}- ${{ runner.os }}-build- ${{ runner.os }}- - - name: West Init + timeout-minutes: 2 + continue-on-error: true + - name: West init uses: "docker://zmkfirmware/zephyr-west-action-arm:latest" id: west-init with: args: 'init "-l app"' - - name: West Update + - name: West update uses: "docker://zmkfirmware/zephyr-west-action-arm:latest" id: west-update with: args: "update" - - name: West Config Zephyr Base + - name: West config Zephyr base uses: "docker://zmkfirmware/zephyr-west-action-arm:latest" id: west-config with: args: 'config "--global zephyr.base-prefer configfile"' - - name: West Zephyr Export + - name: West Zephyr export uses: "docker://zmkfirmware/zephyr-west-action-arm:latest" id: west-zephyr-export with: args: "zephyr-export" - - name: Test All + - name: Test all uses: "docker://zmkfirmware/zephyr-west-action-arm:latest" id: west-build with: entrypoint: /bin/bash args: '-c "west test"' - - name: Archive Build + - name: Archive build if: ${{ always() }} uses: actions/upload-artifact@v2 with: |
