Skip to content

Commit

Permalink
Merge branch 'CodSpeedHQ:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
CathalMullan authored Oct 27, 2024
2 parents 6094beb + b587655 commit 9a54714
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .codspeed-runner-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0
3.0.1
2 changes: 1 addition & 1 deletion .github/workflows/bump-runner-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Bump
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-20.04", "ubuntu-22.04"]
os:
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
- ubuntu-latest
runs-on: ${{ matrix.os }}
env:
CODSPEED_SKIP_UPLOAD: true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check basic action execution
uses: ./
with:
Expand Down
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ This workflow will run the benchmarks found in the `tests/` folder and upload th
It will be triggered on every push to the `main` branch and on every pull request.

```yaml
name: codspeed-benchmarks
name: CodSpeed
on:
push:
Expand All @@ -72,9 +72,10 @@ on:

jobs:
benchmarks:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
with:
python-version: "3.9"
Expand All @@ -96,7 +97,7 @@ This workflow will run the benchmarks found in the `tests/` folder and upload th
It will be triggered on every push to the `main` branch and on every pull request.

```yml
name: codspeed-benchmarks
name: CodSpeed
on:
push:
Expand All @@ -108,10 +109,11 @@ on:
workflow_dispatch:

jobs:
name: Run benchmarks
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup rust toolchain, cache and cargo-codspeed binary
uses: moonrepo/setup-rust@v0
Expand All @@ -137,7 +139,7 @@ This workflow will run the benchmarks defined with `vitest`'s `bench` function a
It will be triggered on every push to the `main` branch and on every pull request.

```yml
name: codspeed-benchmarks
name: CodSpeed
on:
push:
Expand All @@ -150,12 +152,16 @@ on:

jobs:
benchmarks:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-node@v3"
- uses: actions/checkout@v4

- uses: actions/setup-node@v3

- name: Install dependencies
run: npm install

- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
Expand Down
12 changes: 8 additions & 4 deletions examples/nodejs-typescript-codspeed.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: codspeed-benchmarks
name: CodSpeed

on:
push:
Expand All @@ -10,13 +10,17 @@ on:
workflow_dispatch:

jobs:
benchmarks:
name: Run benchmarks
codspeed:
runs-on: ubuntu-latest
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-node@v3"
- uses: actions/checkout@v4

- uses: actions/setup-node@v3

- name: Install dependencies
run: npm install

- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
Expand Down
8 changes: 5 additions & 3 deletions examples/python-pytest-codspeed.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: codspeed-benchmarks
name: CodSpeed

on:
push:
Expand All @@ -10,10 +10,12 @@ on:
workflow_dispatch:

jobs:
benchmarks:
codspeed:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v3
with:
python-version: "3.9"
Expand Down
7 changes: 4 additions & 3 deletions examples/rust-cargo-codspeed.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: codspeed-benchmarks
name: CodSpeed

on:
push:
Expand All @@ -10,10 +10,11 @@ on:
workflow_dispatch:

jobs:
benchmarks:
codspeed:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup rust toolchain, cache and cargo-codspeed binary
uses: moonrepo/setup-rust@v0
Expand Down

0 comments on commit 9a54714

Please sign in to comment.