Skip to content

Commit b29217f

Browse files
committed
Add workflow
1 parent 7950774 commit b29217f

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Un fichier Yaml d'action Github
2+
3+
on: [push]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-18.04
8+
steps:
9+
- uses: actions/checkout@v2
10+
- run: echo "Ici on lint"
11+
- run: pip3 install flake8
12+
- run: flake8 template_model
13+
test:
14+
runs-on: ubuntu-18.04
15+
steps:
16+
- uses: actions/checkout@v2
17+
- run: echo "Ici on tests"
18+
- run: pip install
19+
- run: pip install Django==2.2 -U #FIXME
20+
- run: coverage run --source=template_model ./manage.py test
21+
- run: codecov
22+
deploy:
23+
runs-on: ubuntu-18.04
24+
steps:
25+
- run: echo "Ici on déploie"
26+

0 commit comments

Comments
 (0)