diff --git a/.github/workflows/unit-test.yml b/.github/workflows/ci.yml similarity index 87% rename from .github/workflows/unit-test.yml rename to .github/workflows/ci.yml index 28220b6..82928ea 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,15 @@ --- -name: Unit Tests +name: 'CI: Tests' on: - push: pull_request: - workflow_dispatch: + branches: + - '**' + push: + branches: + - 'main' + tags: + - 'v*' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -15,7 +20,8 @@ permissions: checks: write # For publishing test results jobs: - run-unit-test: + run-unit-tests: + name: 'Run Unit Tests' runs-on: macos-14 # macOS M1 runner timeout-minutes: 10 @@ -42,7 +48,7 @@ jobs: uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: - name: test-results + name: unit-test-results path: | **/build/test-results/**/*.xml **/build/reports/**