4 Commits
1.0.0 ... main

Author SHA1 Message Date
d3594bb33b Update README.md
All checks were successful
Tests / test (3.10) (push) Successful in 15s
Tests / test (3.11) (push) Successful in 15s
Tests / test (3.12) (push) Successful in 16s
Tests / test (3.13) (push) Successful in 15s
Tests / test (3.8) (push) Successful in 19s
Tests / test (3.9) (push) Successful in 19s
2025-11-24 13:55:32 +01:00
dbbb0a7dd4 Merge pull request 'ci: 👷 Add test workflow' (#3) from ci/test into main
All checks were successful
Tests / test (3.10) (push) Successful in 15s
Tests / test (3.11) (push) Successful in 16s
Tests / test (3.12) (push) Successful in 16s
Tests / test (3.13) (push) Successful in 15s
Tests / test (3.8) (push) Successful in 19s
Tests / test (3.9) (push) Successful in 16s
Reviewed-on: #3
2025-11-24 13:43:59 +01:00
880a2a04ad ci: Rename test workflow steps
All checks were successful
Tests / test (3.8) (pull_request) Successful in 18s
Tests / test (3.9) (pull_request) Successful in 15s
Tests / test (3.10) (pull_request) Successful in 15s
Tests / test (3.11) (pull_request) Successful in 15s
Tests / test (3.12) (pull_request) Successful in 16s
Tests / test (3.13) (pull_request) Successful in 16s
2025-11-24 13:42:12 +01:00
88fd47b3d2 ci: 👷 Add test workflow
All checks were successful
Tests / test (3.10) (pull_request) Successful in 22s
Tests / test (3.11) (pull_request) Successful in 23s
Tests / test (3.12) (pull_request) Successful in 22s
Tests / test (3.13) (pull_request) Successful in 15s
Tests / test (3.8) (pull_request) Successful in 26s
Tests / test (3.9) (pull_request) Successful in 21s
2025-11-24 13:37:19 +01:00
3 changed files with 41 additions and 1 deletions

36
.gitea/workflows/test.yml Normal file
View File

@@ -0,0 +1,36 @@
name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- name: Checkout code
uses: https://git.hogertz.eu/actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
- name: Set up Python
uses: https://git.hogertz.eu/actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
uv sync --extra dev
- name: Run tests
run: |
uv run pytest

View File

@@ -1,5 +1,9 @@
# certbot-dns-corenetworks
![Python Version](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue)
![Test Status](https://git.hogertz.eu/hendrik-hog/certbot-dns-corenetworks/actions/workflows/test.yml/badge.svg)
![Release Status](https://git.hogertz.eu/hendrik-hog/certbot-dns-corenetworks/actions/workflows/release.yml/badge.svg)
Core Networks DNS Authenticator plugin for Certbot
This plugin automates the process of completing a `dns-01` challenge by creating, and subsequently removing, TXT records using the Core Networks beta API.

View File

@@ -20,7 +20,7 @@ class AuthenticatorTest(test_util.TempDirTestCase):
path = os.path.join(self.tempdir, "file.ini")
dns_test_common.write(
{"corenetworks_login": LOGIN, "corenetworks_password": PASSWORD}, path
{"corenetworks_username": LOGIN, "corenetworks_password": PASSWORD}, path
)
self.config = mock.MagicMock(