Skip to content

Commit

Permalink
fix: failed to run smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ihexxa committed Jan 6, 2025
1 parent 4143bd1 commit 696e1a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-recurring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
build-targets: "zip"
- os: "windows-latest"
build-targets: "portable"
- os: "ubuntu-latest"
- os: "ubuntu-22.04"
build-targets: "tar.gz"
steps:
- name: Checkout branch
Expand Down Expand Up @@ -67,7 +67,6 @@ jobs:

- name: Test critical path on packaged electron app
run: |
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
npm run test:package -w packages/insomnia-smoke-test -- --project=Critical
env:
INSOMNIA_UPDATES_URL: http://localhost:4010
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:
jobs:
Test:
timeout-minutes: 20
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout branch
uses: actions/checkout@v4
Expand Down Expand Up @@ -50,9 +50,7 @@ jobs:

- name: Smoke test electron app
run: |
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
GIT_SYNC_SMOKE_TEST_TOKEN=${{env.GIT_SYNC_SMOKE_TEST_TOKEN}} \
DEBUG=pw:browser \
npm run test:build -w packages/insomnia-smoke-test -- --project=Smoke
env:
GIT_SYNC_SMOKE_TEST_TOKEN: ${{ secrets.GIT_SYNC_SMOKE_TEST_TOKEN }}
Expand Down

0 comments on commit 696e1a9

Please sign in to comment.