Add Asset and Release models for Github #27
Workflow file for this run
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: 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 |