35 lines
815 B
YAML
35 lines
815 B
YAML
name: Loadtest
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
tags:
|
|
- v*
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
Loadtest-Nix:
|
|
name: Loadtest (Nix)
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup Nix Environment
|
|
uses: ./.github/actions/setup-nix
|
|
with:
|
|
tools: loadtest
|
|
- name: Run loadtest
|
|
run: |
|
|
postgrest-loadtest-against main
|
|
postgrest-loadtest-report > loadtest/loadtest.md
|
|
- name: Upload report
|
|
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
|
|
with:
|
|
name: loadtest.md
|
|
path: loadtest/loadtest.md
|
|
if-no-files-found: error
|