π fix: fix error when ~/.config/dns-manager does not exist #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
permissions: | |
contents: write | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install just π¦ | |
uses: extractions/setup-just@v2 | |
- name: Install the latest version of uv π¦ | |
uses: astral-sh/setup-uv@v3 | |
- name: Install Python π¦ | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies π¦ | |
run: just install | |
- run: | | |
uv run dnsm update examples/simple.toml | |
- name: Run tests and benchmarks β | |
uses: CodSpeedHQ/action@v3 | |
env: | |
TENCENTCLOUD_SECRET_ID: ${{ secrets.TENCENTCLOUD_SECRET_ID }} | |
TENCENTCLOUD_SECRET_KEY: ${{ secrets.TENCENTCLOUD_SECRET_KEY }} | |
LEXICON_CLOUDFLARE_AUTH_TOKEN: ${{ secrets.LEXICON_CLOUDFLARE_AUTH_TOKEN }} | |
with: | |
run: just test | |
- name: Upload coverage reports to Codecov π | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
flags: Pyfuture | |
plugins: pycoverage,compress-pycoverage |