[BugFix] br_cgu_cartao_pagamento #4408
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
name: Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
arch: [x64] | |
os: [ubuntu-22.04] | |
python-version: [3.10.x] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up poetry | |
run: pipx install poetry | |
- name: Set up python | |
uses: actions/setup-python@v4 | |
with: | |
cache: poetry | |
architecture: ${{ matrix.arch }} | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
poetry install --with=test | |
- name: Check if `prefect build` works | |
run: | | |
poetry run prefect build | |
- name: Get changed files for code tree analysis | |
id: files | |
uses: Ana06/[email protected] | |
- name: Perform code tree analysis | |
id: code-tree-analysis | |
continue-on-error: true | |
run: | | |
poetry run python .github/workflows/scripts/code_tree_analysis.py "${{ steps.files.outputs.all }}" |