Added dockerhub build-variants. Added by.hash (we have by.branch, by.tag, by.hash now) #196
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: Validate SPEC fields | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
pytest: | |
name: Validate SPEC fields | |
runs-on: ubuntu-latest | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | |
steps: | |
- uses: actions/checkout@master | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.10' | |
- uses: docker-practice/actions-setup-docker@master | |
- name: Install Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
- name: Install Dev requirements | |
run: | | |
pip install -U setuptools wheel | |
pip install -r dev_requirements.txt | |
- name: Install Dependencies | |
run: | | |
poetry install | |
- name: Validate SPEC fields | |
run: | | |
poetry run redis-benchmarks-spec-cli --tool stats --fail-on-required-diff |