From 3358b7d7bb365b3b15826e26dca80ec9fcf20dc4 Mon Sep 17 00:00:00 2001 From: "r.jaepel" Date: Mon, 23 Oct 2023 14:10:27 +0200 Subject: [PATCH] Add python initialization and dependency install to CI --- .github/workflows/push_ci.yml | 4 +++- workshop_git_tools/process_repo.py | 6 +----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/push_ci.yml b/.github/workflows/push_ci.yml index 28c667d..c064dd6 100644 --- a/.github/workflows/push_ci.yml +++ b/.github/workflows/push_ci.yml @@ -4,13 +4,15 @@ on: - dev - test-ci jobs: - build: + build_teaching_and_solution: runs-on: ubuntu-latest defaults: run: shell: bash -l {0} steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - run: | git config user.name github-actions git config user.email github-actions@github.com diff --git a/workshop_git_tools/process_repo.py b/workshop_git_tools/process_repo.py index 3f6717c..147a3ca 100644 --- a/workshop_git_tools/process_repo.py +++ b/workshop_git_tools/process_repo.py @@ -4,12 +4,8 @@ from abc import abstractmethod from pathlib import Path import subprocess - -import sys - -print(sys.path) - import git +from git import GitCommandError from joblib import Parallel, delayed import pathos