cl and version bump #137
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: Parcl Labs Python Build & Test Workflow | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.11'] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pipenv' | |
- name: Install Pip amd Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pipenv twine build | |
pipenv install --dev --python python | |
- name: Run Lint 🧹 | |
run: | | |
set -e | |
pipenv run make lint-check | |
- name: Run tests 🧪 | |
env: | |
PARCL_LABS_API_KEY: ${{ secrets.PARCL_LABS_API_KEY }} | |
run: | | |
set -e | |
pipenv run make test | |
- name: Run Test Readme 📚 | |
env: | |
PARCL_LABS_API_KEY: ${{ secrets.PARCL_LABS_API_KEY }} | |
run: | | |
set -e | |
pipenv run make test-readme |