This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
chore(deps): update actions/upload-artifact action to v4 #2599
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: Build, test | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
package: [sn-filter-pane, sn-listbox] | |
uses: ./.github/workflows/build-test-single.yml | |
with: | |
package: ${{ matrix.package }} | |
coverage: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v3 | |
with: | |
path: coverage | |
- name: Combine test reports and publish to Code Climate | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
run: | | |
./test/bin/cc-test-reporter sum-coverage ./coverage/artifact/codeclimate.*.json -p 2 -o coverage/codeclimate.summed.json | |
./test/bin/cc-test-reporter upload-coverage -i ./coverage/codeclimate.summed.json | |
api-gov: | |
name: Run API Compliance | |
uses: ./.github/workflows/api-gov.yml | |
secrets: inherit | |
with: | |
update_baseline: false |