Debian Codegraph @

.github/workflows/ci_workflow.yml

raw
1 name: CI
2
3 on:
4 pull_request:
5 push:
6 branches: [main]
7 tags:
8 - "*"
9 workflow_dispatch:
10 schedule:
11 # Run every Sunday at 04:53 UTC
12 - cron: 53 4 * * 0
13
14 concurrency:
15 group: ${{ github.workflow }}-${{ github.ref }}
16 cancel-in-progress: true
17
18 permissions: {}
19
20 jobs:
21 tests:
22 runs-on: ubuntu-latest
23 steps:
24 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25 with:
26 fetch-depth: 0
27 persist-credentials: false
28
29 - name: Set up Python
30 uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
31 with:
32 python-version: 3.14
33
34 - name: Install
35 run: |
36 python -m pip install pip -U
37 pip install .[test]
38
39 - name: Run tests
40 run: pytest astropy_sphinx_theme