diff --git a/tasks.py b/tasks.py index af2892d1..fea6afd1 100644 --- a/tasks.py +++ b/tasks.py @@ -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('*')