name: Tests on: push: branches: - master pull_request: branches: - master schedule: - cron: 1 0 * * * workflow_dispatch: permissions: contents: read jobs: run-tests: runs-on: ubuntu-latest container: image: archlinux:base options: -w /build volumes: - ${{ github.workspace }}:/build steps: - uses: actions/checkout@v4 - run: pacman --noconfirm -Syu base-devel git python-tox - name: Run check and tests run: tox - name: Generate documentation and check if there are untracked changes run: tox -e docs - uses: numtide/clean-git-action@v2