Skip to content

Create stubs

Create stubs #102

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Create stubs
on:
schedule:
- cron: '16 5 * * *' # Once a day
workflow_dispatch:
permissions:
pull-requests: write
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Run image
uses: abatilo/actions-poetry@v2
- name: Install dependencies
run: |
poetry install --only dev
- name: Create Stubs
run: |
poetry run python scripts/generate_polars_stubs.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5