Skip to content

Commit 4d28a32

Browse files
committed
add private tests
1 parent 61b2173 commit 4d28a32

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/ci.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ on:
22
push:
33
branches: [ main ]
44
pull_request:
5+
workflow_dispatch:
56

67
jobs:
78
ci:
89
strategy:
910
matrix:
10-
task: [test, lint, format]
11+
task: [test, lint, format, private-test]
1112
runs-on: ubuntu-22.04
1213
steps:
1314
- name: Checkout
@@ -42,3 +43,15 @@ jobs:
4243
if: matrix.task == 'lint'
4344
run: |
4445
python3 -m ruff check .
46+
- name: Checkout Private Tests
47+
if: matrix.task == 'private-test'
48+
uses: actions/checkout@v4
49+
with:
50+
repository: purseclab/patcherex2-private
51+
ssh-key: ${{ secrets.PRIVATE_TESTS_DEPLOY_KEY }}
52+
path: private
53+
- name: Run pytest for Private Tests
54+
if: matrix.task == 'private-test'
55+
working-directory: ./private
56+
run: |
57+
python3 -m pytest -q --no-summary

0 commit comments

Comments
 (0)