Skip to content

Commit

Permalink
Merge branch 'feature/add_github_actions_per_tool' into feature/use_p…
Browse files Browse the repository at this point in the history
…oetry_and_remove_requirements
  • Loading branch information
ellendejong committed Nov 4, 2024
2 parents b6dbcbf + 1920f36 commit 62db182
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 10 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/checkqc_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ on:
jobs:
pytest:
runs-on: ubuntu-latest
env:
working-directory: CheckQC/
defaults:
run:
working-directory: CheckQC/
working-directory: ${{ env.working-directory }}
steps:
#----------------------------------------------
# check-out repo and set-up python
Expand Down Expand Up @@ -41,7 +43,7 @@ jobs:
id: cached-poetry-dependencies
uses: actions/cache@v4
with:
path: .venv
path: ${{ env.working-directory }}/.venv
key: venv_checkqc-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
#----------------------------------------------
# install dependencies if cache does not exist
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/gendercheck_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ on:
branches: [master, develop]
paths: [GenderCheck/**]


jobs:
pytest:
runs-on: ubuntu-latest
env:
working-directory: GenderCheck/
defaults:
run:
working-directory: GenderCheck/
working-directory: ${{ env.working-directory }}
steps:
#----------------------------------------------
# check-out repo and set-up python
Expand Down Expand Up @@ -41,7 +44,7 @@ jobs:
id: cached-poetry-dependencies
uses: actions/cache@v4
with:
path: .venv
path: ${{ env.working-directory }}/.venv
key: venv_gendercheck-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
#----------------------------------------------
# install dependencies if cache does not exist
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/kinship_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ on:
jobs:
pytest:
runs-on: ubuntu-latest
env:
working-directory: Kinship/
defaults:
run:
working-directory: Kinship/
working-directory: ${{ env.working-directory }}
steps:
#----------------------------------------------
# check-out repo and set-up python
Expand Down Expand Up @@ -42,7 +44,7 @@ jobs:
id: cached-poetry-dependencies
uses: actions/cache@v4
with:
path: .venv
path: ${{ env.working-directory }}/.venv
key: venv_kinship-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
#----------------------------------------------
# install dependencies if cache does not exist
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/moisaichunter_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ on:
jobs:
pytest:
runs-on: ubuntu-latest
env:
working-directory: MosaicHunter/1.0.0/
defaults:
run:
working-directory: MosaicHunter/1.0.0/
working-directory: ${{ env.working-directory }}
steps:
#----------------------------------------------
# check-out repo and set-up python
Expand Down Expand Up @@ -41,7 +43,7 @@ jobs:
id: cached-poetry-dependencies
uses: actions/cache@v4
with:
path: .venv
path: ${{ env.working-directory }}/.venv
key: venv_mosaichunter-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
#----------------------------------------------
# install dependencies if cache does not exist
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/utils_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ on:
jobs:
pytest:
runs-on: ubuntu-latest
env:
working-directory: Utils/
defaults:
run:
working-directory: Utils/
working-directory: ${{ env.working-directory }}
steps:
#----------------------------------------------
# check-out repo and set-up python
Expand Down Expand Up @@ -41,7 +43,7 @@ jobs:
id: cached-poetry-dependencies
uses: actions/cache@v4
with:
path: .venv
path: ${{ env.working-directory }}/.venv
key: venv_utils-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
#----------------------------------------------
# install dependencies if cache does not exist
Expand Down

0 comments on commit 62db182

Please sign in to comment.