Skip to content

rust: Unify Sm21 in the back #2564

rust: Unify Sm21 in the back

rust: Unify Sm21 in the back #2564

Workflow file for this run

name: isolated benchmarks
on: push
jobs:
isobench:
name: 🏝️ Isolated Benchmarks
runs-on: ubuntu-latest
container:
image: ghcr.io/n3pdf/bench-evol:v2
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
# tags needed for dynamic versioning
fetch-depth: 0
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
installer-parallel: true
- name: Install project
run: |
poetry install --no-interaction --with test -E mark -E box
- name: Install task runner
run: pip install poethepoet
- name: Lint with pylint
run: |
# Search for actual errors
poe lint
# For warnings instead return always zero
poe lint-warnings
- name: Test with pytest
run: |
poe bench-iso
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: ./coverage.xml
flags: isobench
name: codecov-umbrella
fail_ci_if_error: false