chore(deps): update dependency pytest to v7.4.1 (#806) #113
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: Syrupy Benchmarks | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
# deployments permission to deploy GitHub pages website | |
deployments: write | |
# contents permission to update benchmark contents in gh-pages branch | |
contents: write | |
env: | |
CI: 1 | |
VENV: .venv | |
jobs: | |
benchmark: | |
name: Benchmark | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup Environment | |
uses: ./.github/actions/setup-env | |
- name: Install project dependencies | |
run: . script/bootstrap | |
- name: Benchmark | |
run: poetry run invoke benchmark | |
- name: Publish Benchmark Results | |
uses: benchmark-action/github-action-benchmark@v1 | |
with: | |
tool: 'pytest' | |
output-file-path: benchmarks.json | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
auto-push: true |