File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI - Argus IA
2+
3+ on :
4+ push :
5+ branches : [ "main", "develop" ]
6+ pull_request :
7+ branches : [ "main", "develop" ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout do código
15+ uses : actions/checkout@v3
16+
17+ - name : Configurar Python
18+ uses : actions/setup-python@v4
19+ with :
20+ python-version : " 3.10"
21+
22+ - name : Instalar dependências
23+ run : |
24+ python -m pip install --upgrade pip
25+ pip install -r requirements.txt || true
26+
27+ - name : Rodar testes (opcional – se adicionar testes)
28+ run : |
29+ echo "Nenhum teste configurado por enquanto"
30+ continue-on-error : true
31+
32+ - name : Build Docker
33+ uses : docker/setup-buildx-action@v2
34+
35+ - name : Construir imagem Docker
36+ run : |
37+ docker build -t argusia .
38+
39+ - name : Verificar sucesso do build
40+ run : |
41+ echo "Build do Docker finalizado com sucesso!"
You can’t perform that action at this time.
0 commit comments