agreugreu/.forgejo/workflows/demo.yml

45 lines
856 B
YAML
Raw Normal View History

2024-05-09 18:35:03 +02:00
#KO
2024-05-09 18:09:19 +02:00
#on: [push]
#jobs:
# ls:
# runs-on: docker
# container:
# image: code.forgejo.org/oci/alpine:3.19
# steps:
# - run: |
# echo ${{ github.workspace }}
2024-05-09 18:54:19 +02:00
on:
push:
2024-05-09 17:46:13 +02:00
jobs:
2024-05-09 18:35:03 +02:00
test-html:
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