Scrape /nodes endpoint from current node only #137
Workflow file for this run
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
--- | |
name: CI | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
tags: | |
- v* | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install pylint / pyflakes | |
run: | | |
sudo apt-get update | |
sudo apt-get install --yes pylint pyflakes3 | |
- name: Install pve_exporter | |
run: sudo pip install -e . | |
- name: Run pylint | |
run: pylint pve_exporter | |
- name: Run pyflakes | |
run: pyflakes3 src/pve_exporter |