Skip to content

Commit

Permalink
add private tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DennyDai committed Dec 20, 2023
1 parent 61b2173 commit 4d28a32
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:

jobs:
ci:
strategy:
matrix:
task: [test, lint, format]
task: [test, lint, format, private-test]
runs-on: ubuntu-22.04
steps:
- name: Checkout
Expand Down Expand Up @@ -42,3 +43,15 @@ jobs:
if: matrix.task == 'lint'
run: |
python3 -m ruff check .
- name: Checkout Private Tests
if: matrix.task == 'private-test'
uses: actions/checkout@v4
with:
repository: purseclab/patcherex2-private
ssh-key: ${{ secrets.PRIVATE_TESTS_DEPLOY_KEY }}
path: private
- name: Run pytest for Private Tests
if: matrix.task == 'private-test'
working-directory: ./private
run: |
python3 -m pytest -q --no-summary

0 comments on commit 4d28a32

Please sign in to comment.