tox #425
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: Tox | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
# Run the tox tests every 8 hours. | |
# This will help to identify faster if | |
# there is a CI failure related to a | |
# change in any dependency. | |
schedule: | |
- cron: '0 */8 * * *' | |
# Run on demand | |
workflow_dispatch: | |
jobs: | |
tox: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install package dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get --assume-yes --no-install-recommends install libsystemd0 libsystemd-dev pkg-config | |
- name: Install deps | |
run: python -m pip install tox | |
- name: Run tox | |
run: | | |
python -m tox |