-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub actions file to pipeline with intensional error
- Loading branch information
1 parent
f6b4d2a
commit ddca582
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,9 @@ | |
.gitignore | ||
.gitattributes | ||
|
||
# Github | ||
.github/ | ||
|
||
|
||
# CI | ||
.codeclimate.yml | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Pipeline | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
# env: | ||
# DATABASE_URL: ${{ secrets.DATABASE_URL }} | ||
# SECRET_KEY: ${{ secrets.SECRET_KEY }} | ||
# ALGORITHM: ${{ secrets.ALGORITHM }} | ||
# ACCESS_TOKEN_EXPIRE_MINUTES: ${{ secrets.ACCESS_TOKEN_EXPIRE_MINUTES }} | ||
|
||
steps: | ||
- name: Copiar os arquivos do repositório | ||
uses: actions/checkout@v3 | ||
|
||
- name: Instalar o Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.12' | ||
|
||
- name: Instalar o Poetry | ||
run: pipx install poetry | ||
|
||
- name: Instalar dependências | ||
run: poetry install | ||
|
||
- name: Executar testes | ||
run: poetry run task test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"fastzero", | ||
"freezegun", | ||
"onupdate", | ||
"pipx", | ||
"poolclass", | ||
"psycopg", | ||
"pwdlib", | ||
|