From 67ed1d714c5c29ccda9348bdfbd621bf646a6657 Mon Sep 17 00:00:00 2001 From: Vasudev <54883603+vasudev-gm@users.noreply.github.com> Date: Tue, 26 Sep 2023 16:18:36 +0530 Subject: [PATCH] Create codspeed.yml Add codSpeedHQ workflow --- .github/workflows/codspeed.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/codspeed.yml diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml new file mode 100644 index 0000000..df049f8 --- /dev/null +++ b/.github/workflows/codspeed.yml @@ -0,0 +1,29 @@ +name: codspeed-benchmarks + +on: + # Run on pushes to the main branch + push: + branches: + - "master" # or "main" + # Run on pull requests + pull_request: + # `workflow_dispatch` allows CodSpeed to trigger backtest + # performance analysis in order to generate initial data. + workflow_dispatch: + +jobs: + benchmarks: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + # ... + # Setup your environment here: + # - Configure your Python/Rust/Node version + # - Install your dependencies + # - Build your benchmarks (if using a compiled language) + # ... + - name: Run benchmarks + uses: CodSpeedHQ/action@v1 + with: + token: ${{ secrets.CODSPEED_TOKEN }} + run: ""