Skip to content

Commit 1334a2c

Browse files
🧪 Testing (#2)
Signed-off-by: Jacob Woffenden <[email protected]>
1 parent 35542e2 commit 1334a2c

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

‎.github/workflows/dependency-review.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
if: github.event.repository.private == false
1717
permissions:
1818
contents: read
19-
uses: ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-dependency-review.yml@0d59d3a7407f3ec42b740107f1f25aee8f3e5949c # v1.1.1
19+
uses: ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-dependency-review.yml@c0076a66e3fa2e53de1fed7b8f17fdfac69d0056 # v1.2.0

‎.github/workflows/release-container.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
permissions:
1414
contents: read
1515
id-token: write
16-
uses: ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-release-container.yml@d59d3a7407f3ec42b740107f1f25aee8f3e5949c # v1.1.1
16+
uses: ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-release-container.yml@c0076a66e3fa2e53de1fed7b8f17fdfac69d0056 # v1.2.0

‎.github/workflows/scan-container.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
permissions:
1414
contents: read
1515
pull-requests: write
16-
uses: ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-scan-container.yml@0d59d3a7407f3ec42b740107f1f25aee8f3e5949c # v1.1.1
16+
uses: ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-scan-container.yml@c0076a66e3fa2e53de1fed7b8f17fdfac69d0056 # v1.2.0
1717
with:
1818
runtime: python

‎.github/workflows/test-container.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
permissions:
1414
contents: read
1515
pull-requests: write
16-
uses: ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-test-container.yml@0d59d3a7407f3ec42b740107f1f25aee8f3e5949c # v1.1.1
16+
uses: ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-test-container.yml@c0076a66e3fa2e53de1fed7b8f17fdfac69d0056 # v1.2.0

‎Dockerfile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM ghcr.io/ministryofjustice/analytical-platform-airflow-python-base:1.5.0
22

3-
COPY src/ .
3+
COPY requirements.txt requirements.txt
4+
COPY src/main.py main.py
45
RUN <<EOF
56
pip install --no-cache-dir --requirement requirements.txt
67
EOF

‎src/main.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ def benchmark(device):
3535
# Benchmark on CPU
3636
print("Benchmarking CPU")
3737
cpu_time = benchmark('/CPU:0')
38-
print(f"CPU training time: {cpu_time:.2f} seconds")
38+
print(f"CPU training time: {cpu_time:.2f} seconds")

0 commit comments

Comments
 (0)