Skip to content

🔧 Add dependencies #6

🔧 Add dependencies

🔧 Add dependencies #6

Workflow file for this run

name: Tests
on: push
jobs:
actions:
runs-on: ubuntu-latest
steps:
- name: Copia repositorio
uses: actions/checkout@main
- name: Construye imagen
run: docker build --tag islasgeci/geci_diversity --tag islasgeci/geci_diversity:${GITHUB_SHA:0:4} .
- name: Verifica el formato
run: docker run islasgeci/geci_diversity make check
- name: Corre pruebas y evalúa cobertura
run: docker run islasgeci/geci_diversity make coverage
- name: Corre mutation testing
run: docker run islasgeci/geci_diversity make mutants
- name: Create/Update tag
uses: rickstaa/[email protected]
with:
tag: "latest"
message: "Latest release"
force_push_tag: true
- name: Docker log-in
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin
- name: Sube latest a Docker Hub
run: docker push islasgeci/geci_diversity:latest
- name: Sube sha a Docker Hub
run: docker push islasgeci/geci_diversity:${GITHUB_SHA:0:4}