update s3-benchrunner-python readme p2 #44
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: 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 |