Skip to content

Commit 37c4d89

Browse files
committed
Split out job steps with names
1 parent 8915485 commit 37c4d89

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci-pipeline.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ jobs:
66
name: Build and test
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- run: docker build --target test --tag backend:test ./backend
11-
- run: docker run --env-file backend/.env backend:test
9+
- name: Checkout Repository
10+
uses: actions/checkout@v2
11+
- name: Build test Docker image
12+
run: docker build --target test --tag backend:test ./backend
13+
- name: Run tests
14+
run: docker run --env-file backend/.env backend:test

backend/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ COPY pyproject.toml .
1313
COPY gunicorn.conf.py .
1414
RUN python -m venv venv
1515

16+
RUN echo ls
1617
RUN ["poetry", "install", "--only", "main"]
1718

1819
EXPOSE 5000

0 commit comments

Comments
 (0)