adiciona suporte a todos os tipos de boletos (#79) #571
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: tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branchs: | |
- 'feature/**' | |
- 'hotfix/**' | |
- 'release/**' | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Install and configure Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: 1.8.2 | |
virtualenvs-create: false | |
virtualenvs-in-project: false | |
virtualenvs-path: . | |
- name: Install dependencies | |
run: | | |
make poetry.config.native | |
make poetry.install | |
- name: Lint code with black | |
run: | | |
make fmt.check | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Install and configure Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: 1.8.2 | |
virtualenvs-create: false | |
virtualenvs-in-project: false | |
virtualenvs-path: . | |
- name: Install dependencies | |
run: | | |
make poetry.config.native | |
make poetry.install | |
- name: Config env | |
run: make config.env | |
- name: Test with pytest | |
run: make test |