Skip to content

Commit

Permalink
Merge pull request #4 from VitorCarvalho67/dev
Browse files Browse the repository at this point in the history
Add CI on project with github actions
  • Loading branch information
VitorCarvalho67 authored Jan 28, 2024
2 parents 4a08b5a + d261a62 commit bad5d01
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout código
uses: actions/checkout@v2

- name: Configurar Docker Compose
run: docker-compose up -d

- name: Verificar se o Docker Compose está funcionando
run: docker-compose ps

- name: Parar e remover contêineres Docker Compose
run: docker-compose down

0 comments on commit bad5d01

Please sign in to comment.