File: config.yml

package info (click to toggle)
python-sybil 9.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,148 kB
  • sloc: python: 4,510; makefile: 90
file content (74 lines) | stat: -rw-r--r-- 1,561 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: 2.1

orbs:
  python: cjw296/python-ci@6

common: &common
  jobs:

    - python/pip-run-tests:
        matrix:
          alias: "python-versions"
          parameters:
            image:
              - cimg/python:3.9
              - cimg/python:3.11
              - cimg/python:3.12

    - python/pip-run-tests:
        matrix:
          alias: "pytest-versions"
          parameters:
            image:
              - cimg/python:3.12
            extras:
              - "[test,pytest]"
            extra_packages:
              # No known problems around 8.3, these are here to provide
              # syntax examples and ensure the matrix still works:
              - "'pytest>=8,<8.3'"
              - "'pytest>=8.3'"

    - python/typing:
        name: typing
        packages: sybil

    - python/coverage:
        name: coverage
        requires:
          - "python-versions"
          - "pytest-versions"

    - python/pip-setuptools-build-package:
        name: package
        requires:
          - typing
          - coverage

    - python/check-package:
        name: check-package
        package: sybil
        typed: true
        requires:
          - package

    - python/release:
        name: release
        config: .carthorse.yml
        requires:
          - check-package
        filters:
          branches:
            only: master

workflows:
  push:
    <<: *common
  periodic:
    <<: *common
    triggers:
      - schedule:
          cron: "0 0 * * 2"
          filters:
            branches:
              only: master