Skip to content

Commit

Permalink
Adicionando task para validar o act
Browse files Browse the repository at this point in the history
  • Loading branch information
dunossauro committed Jun 3, 2024
1 parent b6753a9 commit 0e0eea4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ def lint_sub(c):
c.run('poetry run task lint')


@task
def test_act(c):
code_path = Path('./codigo_das_aulas/').resolve().glob('*')
for path in sorted(code_path):
print(path)
with c.cd(str(path)):
if (path / '.github').exists():
c.run('act')


@task
def test_docker_build(c):
code_path = Path('./codigo_das_aulas/').resolve().glob('*')
Expand Down

0 comments on commit 0e0eea4

Please sign in to comment.