Merge pull request #474 from emcek/dependabot/pip/types-pyinstaller-6… #289
This file contains hidden or 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: CodSpeed | |
on: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
benchmarks: | |
name: Run benchmarks | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Set up Python environment" | |
uses: ./.github/actions/setup-python | |
- name: "Install MS Fonts" | |
run: | | |
curl -O https://lexics.github.io/assets/downloads/fonts/clearTypeFonts/consola.ttf | |
sudo mkdir -p /usr/share/fonts/truetype | |
sudo mv consola.ttf /usr/share/fonts/truetype | |
fc-cache -f | |
- name: "Run benchmarks" | |
uses: CodSpeedHQ/action@v3 | |
with: | |
token: ${{ secrets.CODSPEED_TOKEN }} | |
run: python -m pytest -v --img_precision 0 --codspeed |