ci.yml 643 B

123456789101112131415161718192021222324252627
  1. name: Continuous integration
  2. on:
  3. push:
  4. pull_request:
  5. concurrency:
  6. group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
  7. cancel-in-progress: true
  8. jobs:
  9. build:
  10. runs-on: ubuntu-22.04
  11. steps:
  12. - name: Checkout
  13. uses: actions/checkout@v4
  14. - name: Style checks via pre-commit
  15. uses: pre-commit/action@v3.0.1
  16. - name: Install dependencies
  17. run: sudo pip3 install -r requirements.txt
  18. # Use dummy builder to improve performance as we don't need the generated HTML in this workflow.
  19. - name: Sphinx build
  20. run: make SPHINXOPTS='--color -W' dummy