Skip to content

Commit

Permalink
debugging workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianGroeger96 committed Feb 14, 2024
1 parent 7bb1c0d commit d030e7d
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/pytest-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
token: ${{ secrets.SUBMODULE_GITHUB_TOKEN }}
- uses: actions/checkout@v4 # without submodules

- name: disable the keychain credential helper
run: git config --global credential.helper ""

- name: enable the local store credential helper
run: git config --global --add credential.helper store

- name: add credential
run: echo "https://x-access-token:${{ secrets.SUBMODULE_GITHUB_TOKEN }}@github.com" >> ~/.git-credentials

- name: tell git to use https instead of ssh whenever it encounters it
run: 'git config --global url."https://github.com/".insteadof git@github.com:'

- name: Set up Python
uses: actions/setup-python@v4
Expand Down

0 comments on commit d030e7d

Please sign in to comment.