Skip to content

Update ci_cd.yml

Update ci_cd.yml #10

Workflow file for this run

name: CI/CD
on:
push:
branches:
- github-actions
jobs:
geral:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Poetry Install
uses: knowsuchagency/poetry-install@v2
- name: Poetry Install Pytest
run: pip install pytest pytest-emoji pytest-md
- name: Run pytest
uses: pavelzw/pytest-action@v2
with:
verbose: true
emoji: true
job-summary: true
custom-arguments: '-q'
click-to-expand: true
report-title: 'Test Report'
- name: Run formatter
run: |
black --check .