Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try out windows test in CI (WIP) #2439

Draft
wants to merge 50 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
493414b
Try out windows test in CI
Janpot Aug 7, 2023
027e270
Update config.yml
Janpot Aug 7, 2023
a65e0ee
Update index.spec.ts
Janpot Aug 7, 2023
8dd83af
Update index.spec.ts
Janpot Aug 7, 2023
278f129
Update config.yml
Janpot Aug 7, 2023
acd32e0
Update config.yml
Janpot Aug 7, 2023
0f7917f
Update config.yml
Janpot Aug 7, 2023
35a3306
Update config.yml
Janpot Aug 7, 2023
00ea6e1
correct job
Janpot Aug 7, 2023
13098eb
Update config.yml
Janpot Aug 7, 2023
24389db
Update config.yml
Janpot Aug 7, 2023
09f2eb6
Update config.yml
Janpot Aug 7, 2023
fce5ea0
Update config.yml
Janpot Aug 7, 2023
a79ef64
add yarn
Janpot Aug 7, 2023
d390f87
Update localTest.ts
Janpot Aug 7, 2023
75db2ec
Update localTest.ts
Janpot Aug 8, 2023
17dc432
Update config.yml
Janpot Aug 8, 2023
540fed3
Merge branch 'master' into windows-ci
Janpot Aug 8, 2023
0bb2a2b
Update localTest.ts
Janpot Aug 8, 2023
67c8704
Update localTest.ts
Janpot Aug 8, 2023
af0f352
Merge branch 'master' into windows-ci
Janpot Aug 9, 2023
9413d5f
Update localTest.ts
Janpot Aug 9, 2023
4cd8309
github ci
Janpot Aug 9, 2023
6d093aa
Update localTest.ts
Janpot Aug 9, 2023
0559439
Update ci.yml
Janpot Aug 9, 2023
8627ab2
Update ci.yml
Janpot Aug 9, 2023
33149e6
name test results
Janpot Aug 9, 2023
d7ec248
Update ci.yml
Janpot Aug 9, 2023
4b2e857
Update ci.yml
Janpot Aug 9, 2023
534bf0b
Update EnvManager.ts
Janpot Aug 9, 2023
9272049
trigger
Janpot Aug 9, 2023
25f1b02
Merge branch 'master' into windows-ci
Janpot Aug 9, 2023
9246d3e
Merge branch 'master' into windows-ci
Janpot Aug 14, 2023
c3fc77b
Merge branch 'master' into windows-ci
Janpot Aug 22, 2023
f7d8d78
revert cci
Janpot Aug 22, 2023
36f3e84
Merge branch 'master' into windows-ci
Janpot Aug 28, 2023
3e9f67d
Merge branch 'master' into windows-ci
Janpot Sep 1, 2023
6ef6daa
Merge branch 'master' into windows-ci
Janpot Sep 5, 2023
486b45b
Merge branch 'master' into windows-ci
Janpot Sep 6, 2023
f191b40
Merge branch 'master' into windows-ci
Janpot Sep 14, 2023
92ab5da
Update ci.yml
Janpot Sep 14, 2023
163020e
Update ci.yml
Janpot Sep 14, 2023
ec957df
Merge branch 'master' into windows-ci
Janpot Sep 26, 2023
cfa26b4
Update ci.yml
Janpot Sep 26, 2023
e01f3c3
Update ci.yml
Janpot Sep 26, 2023
fc0cea8
Update ci.yml
Janpot Sep 26, 2023
13dee5e
Merge branch 'master' into windows-ci
Janpot Sep 28, 2023
42da070
Merge branch 'master' into windows-ci
Janpot Oct 2, 2023
9867849
Merge branch 'master' into windows-ci
Janpot Feb 20, 2024
b022252
Merge branch 'master' into windows-ci
Janpot Apr 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: CI

on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
- 'examples/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
- 'examples/**'

permissions: {}

jobs:
test-dev:
if: ${{ !github.event.pull_request || contains(github.event.pull_request.labels.*.name, 'Full test') || contains(github.event.pull_request.labels.*.name, 'release 🚀') }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- run: echo "${{ github.actor }}"
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Use Node.js 18.x
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: 18
cache: 'yarn' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
- run: yarn install
- run: yarn release:build
- run: npx playwright install

- name: Run smoke test
run: yarn test:integration --grep backend-basic --project chromium
env:
TOOLPAD_TEST_RETRIES: 1

- uses: actions/upload-artifact@v3
if: always()
with:
name: ${{ matrix.os }}-test-results
path: test-results/*
2 changes: 1 addition & 1 deletion test/playwright/localTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ const test = baseTest.extend<
await use(projectDir);
});
},
{ scope: 'worker', timeout: 60000 },
{ scope: 'worker', timeout: 120000 },
],
customServer: [
async ({ projectDir, customServerConfig }, use) => {
Expand Down
Loading