44 lines
821 B
YAML
44 lines
821 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
|
|
- name: install git
|
|
run: apk add git
|
|
- name: clone project
|
|
run: git clone https://git@git.cohabit.fr//Alexander/agreugreu.git
|
|
- name: list env
|
|
run: echo $PWD; ls -laR
|
|
- name: test html ko
|
|
run: |
|
|
html5validator --root agreugreu/ --also-check-css --log INFO
|
|
|
|
|
|
#OK
|
|
#on: [push]
|
|
#jobs:
|
|
#test-hello:
|
|
# runs-on: docker
|
|
# steps:
|
|
# - run: echo All Good
|
|
|
|
|