agreugreu/.forgejo/workflows/test-html-css.yml

36 lines
729 B
YAML
Raw Normal View History

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:
#test bonjour
2024-05-09 18:54:19 +02:00
- name: hello-world
run: echo bonjour-monde
2024-05-09 21:47:24 +02:00
#install git
- name: install git
run: apk add git
2024-05-09 21:47:24 +02:00
#clone agreugreu pour avoir fichier
- name: clone project
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: |
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