Merge pull request #25 from openSUSE/opengraph #133
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: Unit Tests | |
# yamllint disable-line rule:truthy | |
on: [push, pull_request] | |
jobs: | |
schedule: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: 3.8 | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- run: pytest -vv | |
- name: Install Telegraf | |
run: sudo apt-get install -y telegraf | |
- name: Test InfluxDB output | |
run: telegraf --test --config tests/slo.conf |