Skip to content

Commit

Permalink
Add CI on project
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorCarvalho67 committed May 11, 2024
1 parent 7f60f54 commit 4f42544
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
-cron: '0 0 * * *'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Code checkout
uses: actions/checkout@v3

- name: Docker-compose configurations
run: docker-compose up -d

- name: Check if docker-compose is working
run: docker-compose ps

- name: Stop and remove docker-compose containers
run: docker-compose down

0 comments on commit 4f42544

Please sign in to comment.