Skip to content

Update benchmark_test.yml #12

Update benchmark_test.yml

Update benchmark_test.yml #12

# See https://github.com/marketplace/actions/comment-with-pytest-benchmark-result
name: Simulation Benchmark Upload
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Execute benchmark
run: |
PYTHONPATH=. make benchmark-default
- name: Upload the file
uses: actions/upload-artifact@v2
with:
name: benchmark_results
path: output.json