-
Notifications
You must be signed in to change notification settings - Fork 14
45 lines (36 loc) · 1.16 KB
/
mip.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 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