Skip to content

Commit

Permalink
Create hitoChecker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
balath authored Mar 18, 2021
1 parent bc672b2 commit ddd4ce9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/hitoChecker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "hitoChecker"
on:
push:
tags:
- '*'

jobs:
test-milestones:
runs-on: ubuntu-latest
steps:
- name: Extract tag name
id: tag
uses: actions/github-script@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
result-encoding: string
script: |
return context.payload.ref.replace(/refs\/tags\/v/, '');
- name: Descarga el repo del estudiante
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Ejecuta tests en el repo
env:
version: ${{ steps.tag.outputs.result }}
run: |
wget https://raw.githubusercontent.com/JJ/curso-tdd/master/t/proyecto.t
prove -c proyecto.t

0 comments on commit ddd4ce9

Please sign in to comment.