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
3 changes: 0 additions & 3 deletions .flake8

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
cache: "npm"

- name: Install linting dependencies
run: make install-node
run: make install

- name: Lint
run: make lint
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
poetry 2.1.4
nodejs 23.11.0
python 3.11.12
terraform 1.12.2
14 changes: 3 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@ SHELL=/usr/bin/env bash -euo pipefail
PYTHON_PROJECT_DIRS_WITH_UNIT_TESTS = backend batch_processor_filter delta_backend filenameprocessor mesh_processor recordprocessor lambdas/ack_backend lambdas/redis_sync lambdas/id_sync lambdas/mns_subscription lambdas/shared
PYTHON_PROJECT_DIRS = e2e e2e_batch quality_checks $(PYTHON_PROJECT_DIRS_WITH_UNIT_TESTS)

.PHONY: install-python install-node install lint format format-check clean publish build-proxy release initialise-all-python-venvs update-all-python-dependencies run-all-python-unit-tests build-all-docker-images

#Installs dependencies using poetry.
install-python:
poetry lock --no-update
poetry install
.PHONY: install lint format format-check clean publish build-proxy release initialise-all-python-venvs update-all-python-dependencies run-all-python-unit-tests build-all-docker-images

#Installs dependencies using npm.
install-node:
install:
npm install --legacy-peer-deps

#Condensed Target to run all targets above.
install: install-node install-python

#Run the npm linting script (specified in package.json). Used to check the syntax and formatting of files.
lint:
npm run lint
Expand Down Expand Up @@ -45,7 +37,7 @@ build-proxy:

#Files to loop over in release
# VED-811: remove everything except for proxy related files as we move to Github Actions for backend deployment
_dist_include="pytest.ini poetry.lock poetry.toml pyproject.toml Makefile build/. specification sandbox terraform scripts"
_dist_include="poetry.toml Makefile build/. specification sandbox terraform scripts"

#Create /dist/ sub-directory and copy files into directory
#Ensure full dir structure is preserved for Lambdas
Expand Down
6 changes: 0 additions & 6 deletions azure/templates/post-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ steps:
- ptl/app-credentials/immunisation-fhir-api-testing-app/non-prod/INT_CLIENT_ID
- ptl/app-credentials/immunisation-fhir-api-testing-app/non-prod/INT_CLIENT_SECRET

- bash: |
make install-python
workingDirectory: $(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)
displayName: Setup pytests
condition: always()

- template: ./aws-assume-role.yml
parameters:
role: "auto-ops"
Expand Down
54 changes: 0 additions & 54 deletions azure/templates/run-tests.yml

This file was deleted.

Loading
Loading