Skip to content

Commit

Permalink
Merge branch 'main' into wf/createstubs
Browse files Browse the repository at this point in the history
  • Loading branch information
Josverl committed Feb 16, 2024
2 parents c8e1623 + 86765a2 commit 22ca700
Show file tree
Hide file tree
Showing 1,305 changed files with 57,784 additions and 35,004 deletions.
2 changes: 1 addition & 1 deletion .github/not-active/action-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout stubs repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# make Python work
- name: Set up Python
Expand Down
2 changes: 1 addition & 1 deletion .github/not-active/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
6 changes: 3 additions & 3 deletions .github/not-active/get-all-frozen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
list-versions-fr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

steps:
- name: Checkout stubs repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# make Python work
- name: Set up Python
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:

# steps:
# - name: Checkout stubs repo
# uses: actions/checkout@v3
# uses: actions/checkout@v4

# # make Python work
# - name: Set up Python
Expand Down
4 changes: 2 additions & 2 deletions .github/not-active/get-doc-stubs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
list-versions-doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# no need to install python
- run: pip install pygithub packaging
- run: python .github/workflows/list_versions.py --latest
Expand All @@ -48,7 +48,7 @@ jobs:

steps:
- name: Checkout stubs repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# make Python work
- name: Set up Python
Expand Down
2 changes: 1 addition & 1 deletion .github/not-active/get-loboris-frozen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Checkout stubs repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# make Python work
- name: Set up Python
Expand Down
6 changes: 3 additions & 3 deletions .github/not-active/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
list-versions-pub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# no need to install python
- run: echo Running in folder $(pwd)
- run: pip install pygithub packaging
Expand All @@ -51,7 +51,7 @@ jobs:

steps:
- name: Checkout stubs repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install pip and tools to allow to run under ACT for testing
run: |
apt update
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:

steps:
- name: Checkout stubs repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install pip and tools to allow to run under ACT for testing
if: env.ACT
Expand Down
33 changes: 33 additions & 0 deletions .github/runner/selfhosted.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@


# Self hosted runner un linux

# install tools


## pipx
```bash
sudo apt update
# pipx
sudo apt install pipx
pipx ensurepath
```

# install
https://docs.github.com/en/actions/hosting-your-own-runners

- Install self hosted runner
- Configure environment
> `.../actions_runner/.env`
```
# Add
LANG=en_US.UTF-8
AGENT_TOOLSDIRECTORY=/home/jos/actions-runner/_tools
```
- [check if additional permissions are needed](https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#linux)
- testrun
- configure to run as a service
- start service



2 changes: 1 addition & 1 deletion .github/workflows/update_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
######################################

- name: Checkout stubs repo
uses: actions/checkout@v3
uses: actions/checkout@v4
# with:
# repository: josverl/micropython-stubs
# path: micropython-stubs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_stubs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout stubs repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry==1.3.1
- run: |
Expand Down
20 changes: 19 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"--type",
"board"
]
}
},
{
"name": "Python: publish 1.19.1 docs",
"type": "python",
Expand All @@ -52,5 +52,23 @@
"doc"
]
}
{
"name": "Python: stubber - cmdline",
"type": "python",
"request": "launch",
"module": "stubber.stubber",
"cwd": "${workspaceFolder}",
"args": [
// "-v",
"merge",
"--version",
"v1.22.1",
"--port",
"esp32",
// "get-frozen",
// "preview",
// "switch",
]
},
]
}
Loading

0 comments on commit 22ca700

Please sign in to comment.