feat: LEAP-1833: Pause limits settings for project #8
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: Preview SDKs | |
on: | |
pull_request: | |
jobs: | |
preview-python: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
- name: Download Fern | |
run: npm install -g fern-api | |
- name: Preview Python SDK | |
env: | |
FERN_TOKEN: ${{ secrets.FERN_TOKEN }} | |
run: | | |
fern generate --group python-sdk-staging --preview --log-level debug | |
- name: Set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Bootstrap poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1 | |
- name: Compile | |
run: | | |
cd fern/apis/api/.preview/fern-python-sdk | |
poetry install | |
poetry run mypy . |