aboutsummaryrefslogtreecommitdiffstats
path: root/.builds/lint-and-test.yml
blob: e3ab99f9171196cf49f3f7cfd1945449a6d54400 (plain) (blame)
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
image: archlinux
submitter:
  git.sr.ht:
    enabled: true
    allow-refs:
      - refs/heads/main
      - "refs/tags/*"
triggers:
  - action: email
    condition: failure
    to: builds@eugenetriguba.com
packages:
  - docker
  - uv
sources:
  - https://git.sr.ht/~eugenetriguba/taskipy2
tasks:
  - setup: |
      sudo dockerd > /tmp/dockerd.log 2>&1 &
  - lint: |
      cd taskipy2
      ./scripts/lint.sh
  - test: |
      cd taskipy2
      ./scripts/test.sh --python-version 3.6
      ./scripts/test.sh --python-version 3.7
      ./scripts/test.sh --python-version 3.8
      ./scripts/test.sh --python-version 3.9
      ./scripts/test.sh --python-version 3.10
      ./scripts/test.sh --python-version 3.11
      ./scripts/test.sh --python-version 3.12
      ./scripts/test.sh --python-version 3.13
      ./scripts/test.sh --python-version 3.14