Skip to content

Commit

Permalink
use Pipfile
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Dec 27, 2024
1 parent fe23f7b commit b81b49b
Show file tree
Hide file tree
Showing 7 changed files with 388 additions and 11 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/branch-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,11 @@ jobs:
- uses: actions/setup-python@v5
if: steps.branch-deploy.outputs.continue == 'true'
with:
python-version: "3.10"
cache: "pip"
cache: "pipenv"

- name: install requirements
- name: install dependencies
if: steps.branch-deploy.outputs.continue == 'true'
run: pip install -r requirements.txt
run: pipenv install

- name: force-check
id: force-check
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,10 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
cache: "pipenv"

- name: install requirements
run: pip install -r requirements.txt
- name: install dependencies
run: pipenv install

- uses: grantbirki/octodns-action@v1
id: octodns
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: test
on:
push:
branches:
- main
pull_request:

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
cache: "pipenv"

- name: install dependencies
run: pipenv install
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.13.1
14 changes: 14 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
octodns = "==1.10.0"
octodns-cloudflare = "==0.0.7"
jinja2 = "==3.1.5"

[dev-packages]

[requires]
python_version = "3.13.1"
344 changes: 344 additions & 0 deletions Pipfile.lock

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.

0 comments on commit b81b49b

Please sign in to comment.