Commit 3ad01b9 1 parent 4ff213f commit 3ad01b9 Copy full SHA for 3ad01b9
File tree 1 file changed +38
-0
lines changed
1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Integration
3
+
4
+ on :
5
+ pull_request :
6
+ branches :
7
+ - main
8
+
9
+ env :
10
+ DOCKER_IMAGE : alvarofpp/app:${{ github.sha }}
11
+
12
+ jobs :
13
+ lint :
14
+ runs-on : ubuntu-latest
15
+ container :
16
+ image : alvarofpp/linter:latest
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+ with :
20
+ fetch-depth : 0
21
+ - run : git config --global --add safe.directory $GITHUB_WORKSPACE
22
+ - run : lint-commit origin/main
23
+ - run : lint-markdown
24
+ - run : lint-dockerfile
25
+ - run : lint-yaml
26
+ - run : lint-shell-script
27
+ - run : lint-python
28
+ tests :
29
+ needs : lint
30
+ runs-on : ubuntu-latest
31
+ steps :
32
+ - uses : actions/checkout@v4
33
+ with :
34
+ fetch-depth : 0
35
+ - run : docker build -t $DOCKER_IMAGE .
36
+ - run : |
37
+ docker run --rm -v $(pwd):/app $DOCKER_IMAGE /bin/bash -c \
38
+ "pytest --cov=validate_docbr/"
You can’t perform that action at this time.
0 commit comments