File: weekly.yml

package info (click to toggle)
python-boost-histogram 1.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,236 kB
  • sloc: python: 7,940; cpp: 3,243; makefile: 22; sh: 1
file content (31 lines) | stat: -rw-r--r-- 685 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Weekly update

on:
  workflow_dispatch:
  schedule:
    - cron: "0 12 * * 0"

jobs:
  basic:
    name: Head on Python 3.13
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v6
        with:
          submodules: true

      # Note: you need to add a git pull here if you are not on a clean checkout, but CI always is
      - name: Update to latest
        run: git submodule foreach "git checkout develop || git checkout master"

      - uses: actions/setup-python@v6
        with:
          python-version: "3.13"

      - name: Build and install wheel
        run: |
          pip install -v . --group test

      - name: Test
        run: python -m pytest