forked from Alexander/agreugreu
45 lines
856 B
YAML
45 lines
856 B
YAML
#KO
|
|
#on: [push]
|
|
#jobs:
|
|
# ls:
|
|
# runs-on: docker
|
|
# container:
|
|
# image: code.forgejo.org/oci/alpine:3.19
|
|
# steps:
|
|
# - run: |
|
|
# echo ${{ github.workspace }}
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
test-html:
|
|
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
|
|
|
|
|