forked from Alexander/agreugreu
36 lines
729 B
YAML
36 lines
729 B
YAML
on:
|
|
push:
|
|
pull_request:
|
|
types: [opened, review_requested]
|
|
|
|
jobs:
|
|
test-html-css:
|
|
runs-on: docker
|
|
container:
|
|
image: cyb3rjak3/html5validator:latest-alpine
|
|
steps:
|
|
#test bonjour
|
|
- name: hello-world
|
|
run: echo bonjour-monde
|
|
#install git
|
|
- name: install git
|
|
run: apk add git
|
|
#clone agreugreu pour avoir fichier
|
|
- name: clone project
|
|
run: git clone https://git@git.cohabit.fr//Alexander/agreugreu.git
|
|
#test en lui même
|
|
- name: test html et css
|
|
run: |
|
|
html5validator --root agreugreu/ --also-check-css --log INFO
|
|
|
|
|
|
#OK
|
|
#on: [push]
|
|
#jobs:
|
|
#test-hello:
|
|
# runs-on: docker
|
|
# steps:
|
|
# - run: echo All Good
|
|
|
|
|