File: main.yml

package info (click to toggle)
python-certbot-dns-desec 1.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 168 kB
  • sloc: python: 365; makefile: 7
file content (47 lines) | stat: -rw-r--r-- 1,002 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
name: Tests

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      # You can use PyPy versions in python-version.
      # For example, pypy2 and pypy3
      matrix:
        python-version: [
          '3.9',
          '3.10',
          '3.11',
          '3.12',
          '3.13',
        ]
        certbot-version: [
          '2.11.1',
          '3.3.0',
          '4.2.0',
        ]

    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version }}

    - name: Install Requirements
      run: |
        pip3 install -r requirements.txt
        pip3 install certbot~=$CERTBOT_VERSION .
        pip3 freeze
      env:
        CERTBOT_VERSION: ${{ matrix.certbot-version }}

    - name: flake8 Linter
      run:  python3 -m flake8 certbot_dns_desec

    - name: Unit tests
      run: python3 -m unittest certbot_dns_desec/dns_desec_test.py