Skip to content

Commit

Permalink
Add GitHub actions file to pipeline with intensional error
Browse files Browse the repository at this point in the history
  • Loading branch information
sandenbergmelo committed Jul 31, 2024
1 parent f6b4d2a commit ddca582
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
.gitignore
.gitattributes

# Github
.github/


# CI
.codeclimate.yml
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/pipeline.yaml
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
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"fastzero",
"freezegun",
"onupdate",
"pipx",
"poolclass",
"psycopg",
"pwdlib",
Expand Down

0 comments on commit ddca582

Please sign in to comment.