Skip to content

Commit

Permalink
Initial development (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
cariad committed Oct 30, 2021
1 parent 2b8ab53 commit 01df198
Show file tree
Hide file tree
Showing 56 changed files with 17,764 additions and 93 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
docker:
- image: cimg/python:3.10.0
environment:
AWS_DEFAULT_REGION: eu-west-2
PIPENV_VENV_IN_PROJECT: true
resource_class: medium
steps:
Expand All @@ -22,12 +23,11 @@ jobs:
key: pipenv-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
paths:
- .venv
- run: pipenv run ./lint.sh
- run: pipenv run pytest
- run: pipenv run ./build.sh
- codecov/upload:
file: coverage.xml
- run: pipenv run ./build.sh
- run: pip install dist/*
- run: ./test-cli.sh
- run: if [[ -z "${CIRCLE_TAG}" ]]; then circleci-agent step halt; fi
- run: pipenv run twine upload dist/*

Expand Down
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: cariad
38 changes: 38 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CodeQL

on: # yamllint disable-line rule:truthy
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "16 11 * * 6"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language:
- python

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.coverage
__pycache__
coverage.xml
dist
docsrc/build
htmlcov
stackdiff.egg-info
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"cSpell.words": [
"epilog",
"pyyaml",
"stackdiff"
]
],
"restructuredtext.confPath": "${workspaceFolder}/docsrc/source"
}
11 changes: 8 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,27 @@ verify_ssl = true
name = "pypi"

[packages]
ansiscape = "~=1.0"
ansiscape = "~=1.1.0"
boto3 = "~=1.18"
differently = "==1.0.0a6"
differently = "~=1.0"
pyyaml = "~=6.0"
tabulate = "~=0.8"

[dev-packages]
black = "==21.9b0"
boto3-stubs = {extras = ["cloudformation"], version = "*"}
flake8 = "*"
furo = "*"
isort = "*"
mock = "*"
mypy = "*"
pytest = "*"
pytest-cov = "*"
shellcheck-py = "*"
sphinx = "*"
twine = "*"
types-mock = "*"
types-tabulate = "~=0.8"
shellcheck-py = "*"
yamllint = "*"

[requires]
Expand Down
Loading

0 comments on commit 01df198

Please sign in to comment.