Skip to content

Commit

Permalink
profile signer/xpi separately
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhodges committed Nov 5, 2024
1 parent 083f6b4 commit 7bad9f1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,27 @@ jobs:
with:
args: --timeout 5m

xpi-test-profile:
name: Profile the signer/xpi tests
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/checkout@v4

- uses: actions:setup-go@v5
with:
go-version-file: "./go.mod"

- name: Profile signer/xpi tests
run: go test -o ./signer-xpi-tests -v -cpuprofile=cpu.prof -memprofile=mem.prof ./signer/xpi
- uses: actions/upload-artifact@v4
with:
name: signer-xpi-prof
path: |
cpu.prof
mem.prof
signer-xpi-tests
unit-tests:
name: Run Unit Tests
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 7bad9f1

Please sign in to comment.