stubber: release v1.23.1 #202
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
# This workflow will : | |
# update mip packages in the \mip folder | |
name: mip | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- .github/workflows/mip.yml | |
- "src/stubber/board/**" | |
jobs: | |
mip: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
#---------------------------------------------- | |
- name: Install poetry # poetry is not in the default image | |
run: pipx install poetry==1.3.1 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" # Replace with the Python version you're using | |
cache: "poetry" | |
- name: Install stubber | |
run: poetry install --with test --no-interaction | |
- name: make all variants | |
run: | | |
poetry run stubber make-variants | |
poetry run stubber make-variants --target ./mip/v5 --version 1.18 | |
poetry run stubber make-variants --target ./mip/v6 --version 1.19.1 | |
- name: run test on minified/createstubs.by | |
run: | | |
poetry run pytest -m minified | |
- name: Commit the changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: Update mip packages |