Skip to content

Commit 7e7b1fc

Browse files
committed
Initial refactoring of pipelines
1 parent 48fd36d commit 7e7b1fc

File tree

4 files changed

+29
-7
lines changed

4 files changed

+29
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PR Quality Check
1+
name: Create PR JIRA Link
22
on:
33
pull_request:
44
types: [opened]
Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: SonarCloud
1+
name: Quality Checks
22

33
on:
44
push:
@@ -12,14 +12,35 @@ env:
1212
LAMBDA_PATH: ${{ github.workspace }}/lambdas
1313

1414
jobs:
15-
sonarcloud:
16-
name: SonarCloud
15+
lint:
16+
name: Lint specification and Python projects
1717
runs-on: ubuntu-latest
18-
18+
1919
steps:
2020
- uses: actions/checkout@v5
21+
22+
- uses: actions/setup-python@v5
23+
with:
24+
python-version: 3.11
25+
cache: 'pip'
26+
27+
- uses: actions/setup-node@v5
2128
with:
22-
fetch-depth: 0
29+
node-version: '23.11.0'
30+
cache: 'npm'
31+
32+
- name: Install linting dependencies
33+
run: make install-node && pip install flake8
34+
35+
- name: Lint
36+
run: make lint
37+
38+
testcoverage_and_sonarcloud:
39+
name: Test Coverage and SonarCloud
40+
runs-on: ubuntu-latest
41+
42+
steps:
43+
- uses: actions/checkout@v5
2344

2445
- name: Install poetry
2546
run: pip install poetry==2.1.4

README.specification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ To get started developing your API use this template repo alongside guidance pro
102102
This folder contains templates that can be customised for items such as opening pull requests or issues within the repo
103103

104104
`/.github/workflows`: This folder contains templates for github action workflows such as:
105-
- `pr-lint.yaml`: This workflow template shows how to link Pull Request's to Jira tickets and runs when a pull request is opened.
105+
- `pr-jira-link.yaml`: This workflow template links Pull Requests to Jira tickets and runs when a pull request is opened.
106106
- `continuous-integration.yml`: This workflow template shows how to publish a Github release when pushing to master.
107107

108108
#### `/azure`:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[project]
2+
name = "immunisation-fhir-api"
23
python = "^3.8"
34

45
[tool.poetry]

0 commit comments

Comments
 (0)