Skip to content

[fix] br_anatel_telefonia_movel #2473

[fix] br_anatel_telefonia_movel

[fix] br_anatel_telefonia_movel #2473

Workflow file for this run

name: CI
on:
pull_request:
jobs:
tests:
name: ${{ matrix.os }}${{ matrix.arch }} - Python ${{ matrix.python-version }} - tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
arch: [x64]
python-version: ["3.9.x"]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.arch }}
- name: Set up Poetry and upgrade pip
run: |
pip install -U pip poetry
- name: Install test dependencies
run: |
pip install --prefer-binary -r requirements-test.txt
- name: Install flows
run: |
pip install --prefer-binary .
- name: Check if `prefect build` works
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: |
python .github/workflows/scripts/code_tree_analysis.py "${{ steps.files.outputs.all }}"
- name: Comment PR
uses: thollander/actions-comment-pull-request@v1
with:
message: "${{ steps.code-tree-analysis.outputs.pr-message }}"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: |
pytest