Skip to content

Commit 3c98c1c

Browse files
committed
Run GitHub transport in unit test matrix
1 parent 8f39d37 commit 3c98c1c

1 file changed

Lines changed: 4 additions & 14 deletions

File tree

.github/workflows/add-repo-tests.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ permissions:
99
contents: read
1010

1111
jobs:
12-
local-fixtures:
13-
name: Local fixtures (CMake ${{ matrix.cmake-version }})
12+
unit-tests:
13+
name: Unit tests (CMake ${{ matrix.cmake-version }})
1414
runs-on: ubuntu-latest
1515
strategy:
1616
fail-fast: false
@@ -25,18 +25,6 @@ jobs:
2525
run: |
2626
git config --global user.name "AddRepo CI"
2727
git config --global user.email "addrepo-ci@example.invalid"
28-
- name: Run hermetic AddRepo tests
29-
run: python3 tests/AddRepo/run_tests.py
30-
31-
github-transport:
32-
name: GitHub shallow transport
33-
if: github.event_name == 'workflow_dispatch'
34-
runs-on: ubuntu-latest
35-
steps:
36-
- uses: actions/checkout@v4
37-
- uses: lukka/get-cmake@latest
38-
with:
39-
cmakeVersion: latest
4028
- name: Configure fixture repository SSH key
4129
env:
4230
ADDREPO_TEST_SSH_KEY: ${{ secrets.ADDREPO_TEST_SSH_KEY }}
@@ -45,5 +33,7 @@ jobs:
4533
printf '%s\n' "$ADDREPO_TEST_SSH_KEY" > ~/.ssh/id_ed25519
4634
chmod 600 ~/.ssh/id_ed25519
4735
ssh-keyscan github.com >> ~/.ssh/known_hosts
36+
- name: Run hermetic AddRepo tests
37+
run: python3 tests/AddRepo/run_tests.py
4838
- name: Run GitHub transport test
4939
run: python3 tests/AddRepo/github_transport.py

0 commit comments

Comments
 (0)