Archived
1
1
Fork 0

Compare commits

...

10 commits

3 changed files with 17 additions and 12 deletions

View file

@ -11,20 +11,26 @@ jobs:
# matrix:
# python-version: ["3.8.17", "3.9.17", "3.10.12", "3.11.4"]
steps:
- name: Install Package-based Deps
- name: Install package dependencies
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
dnf -yq install nodejs git pylint python3-pip
dnf clean all
dnf -yq install nodejs git python3-pip python3-virtualenv
# - name: "Set up Python ${{ matrix.python-version }}"
# uses: https://github.com/actions/setup-python@v3
# with:
# python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
- name: Install Python Deps
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python3 -m venv venv
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
run: |
source venv/bin/activate
python3 -m pip list
pylint $(git ls-files '*.py')

View file

@ -1,11 +1,10 @@
# amdgpu_stats
![pylint](https://github.com/joshlay/amdgpu_stats/actions/workflows/pylint.yml/badge.svg)
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 'graphing' scroll bars](https://raw.githubusercontent.com/joshlay/amdgpu_stats/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 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://git.jlay.dev/jlay/amdgpu_stats/raw/branch/master/screens/graphs.svg "Graphs")
![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!

View file

@ -1,3 +1,3 @@
textual>=0.16.0
textual>=0.32.0
humanfriendly==10.0
pyyaml==6.0
rich>=13.3.3