2024-05-09 18:54:19 +02:00
|
|
|
on:
|
|
|
|
push:
|
2024-05-09 22:10:37 +02:00
|
|
|
pull_request:
|
|
|
|
types: [opened, review_requested]
|
2024-05-09 18:54:19 +02:00
|
|
|
|
2024-05-09 17:46:13 +02:00
|
|
|
jobs:
|
2024-05-09 22:03:32 +02:00
|
|
|
test-html-css:
|
2024-05-09 18:47:38 +02:00
|
|
|
runs-on: docker
|
2024-05-09 19:02:57 +02:00
|
|
|
container:
|
|
|
|
image: cyb3rjak3/html5validator:latest-alpine
|
2024-05-09 18:40:50 +02:00
|
|
|
steps:
|
2024-05-09 19:28:29 +02:00
|
|
|
#test bonjour
|
2024-05-09 18:54:19 +02:00
|
|
|
- name: hello-world
|
2024-05-09 19:28:29 +02:00
|
|
|
run: echo bonjour-monde
|
2024-05-09 21:47:24 +02:00
|
|
|
#install git
|
2024-05-09 20:38:54 +02:00
|
|
|
- name: install git
|
|
|
|
run: apk add git
|
2024-05-09 21:47:24 +02:00
|
|
|
#clone agreugreu pour avoir fichier
|
2024-05-09 20:38:54 +02:00
|
|
|
- name: clone project
|
2024-05-09 20:40:04 +02:00
|
|
|
run: git clone https://git@git.cohabit.fr//Alexander/agreugreu.git
|
2024-05-09 21:47:24 +02:00
|
|
|
#test en lui même
|
|
|
|
- name: test html et css
|
2024-05-09 18:54:19 +02:00
|
|
|
run: |
|
2024-05-09 20:41:27 +02:00
|
|
|
html5validator --root agreugreu/ --also-check-css --log INFO
|
2024-05-09 17:46:13 +02:00
|
|
|
|
|
|
|
|
2024-05-09 18:47:38 +02:00
|
|
|
#OK
|
|
|
|
#on: [push]
|
|
|
|
#jobs:
|
|
|
|
#test-hello:
|
|
|
|
# runs-on: docker
|
|
|
|
# steps:
|
|
|
|
# - run: echo All Good
|
2024-05-09 17:46:13 +02:00
|
|
|
|
|
|
|
|