Skip to content

Commit

Permalink
Include Build CLI integration tests in GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmesamster committed Dec 8, 2024
1 parent d355970 commit e9fa33f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/pullrequest_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- reopened
- synchronize
- ready_for_review
- labeled
workflow_dispatch:

jobs:
ts_and_rust_lint:
Expand Down Expand Up @@ -59,15 +61,14 @@ jobs:
run: yarn run check

integration_and_unit_tests:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: libudev-dev
run: |
sudo apt-get update
sudo apt-get install -y libudev-dev
sudo apt-get install -y libudev-dev python3
- name: install node
uses: actions/setup-node@master
with:
Expand Down Expand Up @@ -102,3 +103,8 @@ jobs:
# Environment variable is needed for snapshot testing in Rust via `insta` crate
CI: true
run: cargo chipmunk test -u immediate
- name: Execute cli tests
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'test-cli')
timeout-minutes: 30
run: python3 integration_tests/run_all.py
working-directory: ./cli

0 comments on commit e9fa33f

Please sign in to comment.