[WIndows 11 23H2] cpu_percent percpu=True shows realistic CPU load only for one core #2793
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
# Fired by Github Actions every time an issue, PR or comment is created. | |
name: issues | |
on: | |
issues: | |
types: [opened] | |
pull_request: | |
typed: [opened] | |
issue_comment: | |
types: [created] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# install python | |
- uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
# install deps | |
- name: Install deps | |
run: python3 -m pip install PyGithub | |
# run | |
- name: Run | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
PYTHONUNBUFFERED=1 PYTHONWARNINGS=always python3 .github/workflows/issues.py |