Compare commits
10 commits
a0ccde5a04
...
67e6d0b690
Author | SHA1 | Date | |
---|---|---|---|
|
67e6d0b690 | ||
881bc81087 | |||
f5c72203ac | |||
e3e7712e47 | |||
fa44c53510 | |||
34881f4c97 | |||
f800d4b577 | |||
990a32bb19 | |||
9872fe8811 | |||
7d26a36ab7 |
3 changed files with 17 additions and 12 deletions
|
@ -11,20 +11,26 @@ jobs:
|
||||||
# matrix:
|
# matrix:
|
||||||
# python-version: ["3.8.17", "3.9.17", "3.10.12", "3.11.4"]
|
# python-version: ["3.8.17", "3.9.17", "3.10.12", "3.11.4"]
|
||||||
steps:
|
steps:
|
||||||
- name: Install Package-based Deps
|
- name: Install package dependencies
|
||||||
run: |
|
run: |
|
||||||
|
echo "Making DNF more performant with these directives:"
|
||||||
echo -e 'max_parallel_downloads=20\ndeltarpm=False\nfastestmirror=False' | tee -a /etc/dnf/dnf.conf
|
echo -e 'max_parallel_downloads=20\ndeltarpm=False\nfastestmirror=False' | tee -a /etc/dnf/dnf.conf
|
||||||
dnf -yq install nodejs git pylint python3-pip
|
dnf -yq install nodejs git python3-pip python3-virtualenv
|
||||||
dnf clean all
|
|
||||||
# - name: "Set up Python ${{ matrix.python-version }}"
|
# - name: "Set up Python ${{ matrix.python-version }}"
|
||||||
# uses: https://github.com/actions/setup-python@v3
|
# uses: https://github.com/actions/setup-python@v3
|
||||||
# with:
|
# with:
|
||||||
# python-version: ${{ matrix.python-version }}
|
# python-version: ${{ matrix.python-version }}
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install Python Deps
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python3 -m venv venv
|
||||||
pip install -r requirements.txt
|
source venv/bin/activate
|
||||||
|
python3 -m pip install --upgrade pip
|
||||||
|
python3 -m pip install --upgrade wheel
|
||||||
|
python3 -m pip install pylint
|
||||||
|
python3 -m pip install --no-compile -r requirements.txt
|
||||||
- name: Analysing the code with pylint
|
- name: Analysing the code with pylint
|
||||||
run: |
|
run: |
|
||||||
|
source venv/bin/activate
|
||||||
|
python3 -m pip list
|
||||||
pylint $(git ls-files '*.py')
|
pylint $(git ls-files '*.py')
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
# amdgpu_stats
|
# amdgpu_stats
|
||||||
![pylint](https://github.com/joshlay/amdgpu_stats/actions/workflows/pylint.yml/badge.svg)
|
|
||||||
|
|
||||||
A Python module/TUI for AMD GPU statistics
|
A Python module/TUI for AMD GPU statistics
|
||||||
|
|
||||||
![Screenshot of the main stats table](https://raw.githubusercontent.com/joshlay/amdgpu_stats/master/screens/main.svg "Main screen")
|
![Screenshot of the main stats table](https://git.jlay.dev/jlay/amdgpu_stats/raw/branch/master/screens/main.svg "Main screen")
|
||||||
![Screenshot of the 'graphing' scroll bars](https://raw.githubusercontent.com/joshlay/amdgpu_stats/master/screens/graphs.svg "Graphs")
|
![Screenshot of the 'graphing' scroll bars](https://git.jlay.dev/jlay/amdgpu_stats/raw/branch/master/screens/graphs.svg "Graphs")
|
||||||
![Screenshot of the 'Logs' tab pane](https://raw.githubusercontent.com/joshlay/amdgpu_stats/master/screens/logs.svg "Logs")
|
![Screenshot of the 'Logs' tab pane](https://git.jlay.dev/jlay/amdgpu_stats/raw/branch/master/screens/logs.svg "Logs")
|
||||||
|
|
||||||
Tested _only_ on `RX6000` series cards; APUs and more _may_ be supported. Please file an issue if finding incompatibility!
|
Tested _only_ on `RX6000` series cards; APUs and more _may_ be supported. Please file an issue if finding incompatibility!
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
textual>=0.16.0
|
textual>=0.32.0
|
||||||
humanfriendly==10.0
|
humanfriendly==10.0
|
||||||
pyyaml==6.0
|
rich>=13.3.3
|
||||||
|
|
Reference in a new issue