This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
Python tests for sigopt/sigopt-server@refs/heads/pre-commit-ci-update-config #1837
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: python code tests | |
permissions: read-all | |
run-name: Python tests for ${{ github.repository }}@${{ github.ref }} | |
on: | |
push: {} | |
jobs: | |
sigopttest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- run: pip install pipenv | |
- run: pipenv install --deploy --dev | |
- run: source .env && sudo ./tools/protobuf/install.sh "$PROTOBUF_VERSION" | |
- run: pipenv run ./tools/protobuf/compile.sh | |
- run: pipenv run ./pp pytest test/python/sigopttest |