Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/stage-2-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: '3.13'
- name: "Run unit test suite"
run: |
make test-unit
Expand All @@ -53,6 +57,10 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: '3.13'
- name: "Run linting"
run: |
make test-lint
Expand All @@ -67,6 +75,10 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: '3.13'
- name: "Run test coverage check"
run: |
make test-coverage
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/stage-4-acceptance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: '3.13'
- name: "Run integration test"
run: |
make test-integration
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

.direnv
node_modules/
openapitools.json
bin/
dist/
build/
Expand All @@ -32,8 +33,8 @@ smoketest-report.xml
env
.dir-locals.el
*.pyc
poetry.lock
package-lock.json
*/package-lock.json
test-report.xml
.coverage

localstack_data/
13 changes: 11 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ install: install-node install-python .git/hooks/pre-commit
#Run the npm linting script (specified in package.json). Used to check the syntax and formatting of files.
lint:
npm run lint
find . -name '*.py' -not -path '**/.venv/*' | xargs poetry run flake8
poetry run ruff format . --check
poetry run ruff check .
poetry run pyright


format: ## Format and fix code
poetry run ruff format .
poetry run ruff check . --fix-only

#Creates the fully expanded OAS spec in json
publish: clean
Expand All @@ -36,7 +43,7 @@ _dist_include="pytest.ini poetry.lock poetry.toml pyproject.toml Makefile build/
# Example CI/CD targets are: dependencies, build, publish, deploy, clean, etc.

dependencies: # Install dependencies needed to build and test the project @Pipeline
# TODO: Implement installation of your project dependencies
scripts/dependencies.sh

build: # Build the project artefact @Pipeline
# TODO: Implement the artefact build step
Expand All @@ -51,6 +58,8 @@ config:: # Configure development environment (main) @Configuration
# TODO: Use only 'make' targets that are specific to this project, e.g. you may not need to install Node.js
make _install-dependencies

precommit: lint test ## Pre-commit tasks

# ==============================================================================

${VERBOSE}.SILENT: \
Expand Down
Loading
Loading