Skip to content

update s3-benchrunner-python readme (#18) #43

update s3-benchrunner-python readme (#18)

update s3-benchrunner-python readme (#18) #43

Workflow file for this run

name: CI
on: [push]
jobs:
Lint:
runs-on: ubuntu-22.04 # latest at time of writing
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.9' # default version on Amazon Linux 2023
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17' # default version on Amazon Linux 2023
- run: python -m pip install -r scripts/requirements.txt
- name: Lint Python scripts
run: python scripts/lint-python.py
- name: Lint s3-benchrunner-c
run: python runners/s3-benchrunner-c/scripts/lint.py
- name: Lint s3-benchrunner-crt-java
run: python runners/s3-benchrunner-crt-java/scripts/lint.py
- name: Check that benchmark.run.json files are up to date
# build benchmarks and see if any files change
run: |
python scripts/build-benchmarks.py
git diff --exit-code
Build:
runs-on: ubuntu-22.04 # latest at time of writing
strategy:
matrix:
runner:
- s3-benchrunner-c
- s3-benchrunner-crt-java
- s3-benchrunner-python
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.9' # default version on Amazon Linux 2023
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17' # default version on Amazon Linux 2023
- run: python -m pip install -r scripts/requirements.txt
- name: Build
run: python runners/${{ matrix.runner }}/scripts/build.py --build-dir ${{runner.temp}}/build