Spaces:
Sleeping
Sleeping
Aurélie GABU commited on
Commit ·
2b5411a
1
Parent(s): 0dfaafc
ci: add fichiers initialisation du workflow GitHub Actions
Browse files- .github/workflows/ci.yml +16 -0
.github/workflows/ci.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: CI # nom affiché dans l’onglet Actions de GitHub sinon le workflow n'exécute rien
|
| 2 |
+
|
| 3 |
+
on: # quand le pipeline doit s'exécuter, dans le projet:
|
| 4 |
+
push:
|
| 5 |
+
branches:
|
| 6 |
+
- develop # le pipeline se lance quand on pousses sur develop
|
| 7 |
+
- feature/* # ou sur une branche
|
| 8 |
+
pull_request:
|
| 9 |
+
branches:
|
| 10 |
+
- develop # le pipeline se lance quand une pull request cible develop
|
| 11 |
+
|
| 12 |
+
jobs:
|
| 13 |
+
test:
|
| 14 |
+
runs-on: ubuntu-latest
|
| 15 |
+
steps:
|
| 16 |
+
- uses: actions/checkout@v4
|