Skip to content

Commit 7a9338e

Browse files
Add workflow definition
1 parent 586ee9b commit 7a9338e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/my-pipeline.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'ansible'
7+
- 'README.md'
8+
pull_request:
9+
paths-ignore:
10+
- 'ansible'
11+
- 'README.md'
12+
13+
jobs:
14+
build:
15+
name: Build and test
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- run: docker build --target test --tag todo-app:test .
20+
- run: docker run --env-file .env.test todo-app:test

0 commit comments

Comments
 (0)