Skip to content

Commit

Permalink
new examples and end-to-end multi platform test, removed useless depe…
Browse files Browse the repository at this point in the history
…ndencies and minor fixes; fix #113 & fix #153

* example/with-typescript-nextjs export module as esmodule

* js, express, ts, knex and nextjs with node, bun and deno on linux test

* separated btd from examples test

* increased nextjs wait time

* decreased nextjs test wait time

* kill process that uses port 3000

* kill with package

* KIlling process port 3000 after each test

* new js vite example

* new js vite test

* new node knex test and vite test

* new browser test

* browser test to commonjs

* new browser test

* browser test log success

* run test on macos

* added test on windows

* set default shell to bash for windows ci

* default env

* test windows bun canary

* revert last commit & deno vite test

* new react-native example

* update rn ios example

* android & ios end-to-end testing

* e2e test just ubuntu

* re-enabled macos and moved playwright setup after the first npm i

* e2e test install playwright globally

* playwright latest in package.json and removed playwright installed globally

* deleted package-lock to force to latest version of playwright

* ios e2e test in the ci

* fix missing ruby version

* increased timeout time

* removed default shell

* run ios test in parallel

* new android test

* android test also on ubuntu

* increased ios test timeout by 5 minutes

* matrix api level

* removed android 15 test

* iphone se instead of iphone 15 test

* increased ios test time by 5 minutes

* android test: create and cache avd + kvm

* kvm only on ubuntu

* test windows test

* fix missing double quotes

* revert last two commits

* windows latest test, temp stop ios workflow and android rm no-window

* windows test with plain powershell

* re-added android gpu arg

* api level 26 should work

* node fix

* temp disable playwright installation

* windows ci contains instead of -like

* windows missing content, android try with no-window no screenshot

* removed ps script, default shell bash, windows skip bun tests

* kill process before rm folder

* lsof missing path

* windows continue on rm error; android tests without emulator-runner action

* android test only in macos

* rm if always avoid on windows latest

* android missing gradlew

* deno vite issue skipping step

* skip playwright deno test issue, android jdk 8 + gradle

* windows may fail, new android script

* bun windows may fail; no openjdk action

* android java architecture x64; windows test without bun i

* java 8 & fix bun windows

* android: java ver 17

* java zulu 8

* fix bun multi-os and fix android device name

* missing gradle android

* gradle setup by java action

* skipping examples test, android development

* Test tamarin 17

* fix temurin typo

* zulu 17 lts

* clean ios workflow

* android test different api level

* android test no java

* android test with android-emulator-runner

* test with arm emulator arch

* android x86_64 with api level 27

* arch matrix

* setup kvm & java in linux

* android rm emulator options

* ubuntu emulator timeout

* android no macos

* upload artifact v4

* android view height 90%

* android waitfor to be visible and api level 26

* android back to 29

* android test waitFor to be visible each test

* fix artifacts path

* Update App.tsx

* Update App.tsx

* Update App.tsx

* Update App.tsx

* Update chinook.test.js

* Update examples-test.yml

* Update examples-test.yml

* Update examples-test.yml

* android test other arch

* fix artifacts ios and arm64 android only with api level 30

* added android api-level/version conversion

* skip temp ios test; android 15 failing, going to android 8

* no android 15

* android api level 33 instead of 30 and free-disk-space

* android 33 with arm

* artifact unique name and api-level 32 instead of 33

* only arch 64bit

* rm possibly invisible chinook result and always execute upload artifacts

* android 6 instead of 5

* android 6 fail to 7

* android 7 fail to 7.1

* android test without free-disk-space

* ios test on multiple version

* skip ios 15 test

* detox specify os not in type

* run all test

* run all test

* fix iOS artifacts unique name

* iOS 16 test with iphone 14 instead of pro max

* android profile pixel 8, increase screen size

* iOS list devices

* Rm exit ios

* Nexus 6 instead of pixel 8

* readded old test

* rm ios take screenshot

* nexus 6 to pixel 6 and switch macos13 xcode version that should support ios 16.1

* Update examples-test.yml

* xcode to 14.3

* Update examples-test.yml

* iOS 16.1 to 16.4

* Update .detoxrc.js

* iOS test without switching xcode version

* Android test with pixel 6 pro

* re-enabled other test and added take screenshot since record video sometimes fails

* renamed android package to withtypescriptreactnative

* updated with-javascript-express

* fix with-javscript-browser main

* updated with-javascript-vite

* added env example with-javascript-vite

* updated gitignores

* updated with-plain-javascript

* updated env.examples

* updated with-typescript-knex

* updated with-typescript-nextjs

* updated with-javascript-express

* react native test added timeout also to the non driver related text

* updated nextjs example port

* removed useless dependencies

* updated devdependencies

* added with-javascript-expo example

* with-javascript-expo fix typo

* with-javascript-expo fix infinite loop query and adapted log in deleteTask to the tls connection, strangely the websocket conneciton replies in a different way

* init detox test runner

* expo ios test

* package and expo name fix

* added expo prebuild

* android expo test in the ci

* updated tests

* test fix android ci

* rm detox not working fix expo

* added expo prebuild

* finished expo tests and re-enabled ios test to run them in parallel with android

* expo prebuild android as separate step

* trying expo android test with :app:, should match gradle version

* expo android zulu 17 test

* back to zulu 21. it wasn't the issue. running ALL TEST

* added warning comment to package.json

* different name for artifacts

* with-javascript-browser return to try to fix macos deno stuck randomly

* Update examples-test.yml

* android device profile nexus 6 and rm test retries

* added retries to deno with-javascript-browser

* rm useless cleanup

* rm useless return

* updated workflows runs on

* end to end test depend on code test

* fix pubsub test and added remove channel method

* pubsub create channel if not exists fails without space

* removeChannel part of the fist test and added random uuid to another test

* updated readme with new tests & renamed workflow filename

* expo tests added timeout

* readme badge with platforms

* expo example removed useless packages/things from package.json
  • Loading branch information
Gioee authored Nov 29, 2024
1 parent bc79955 commit 5bdba10
Show file tree
Hide file tree
Showing 129 changed files with 50,527 additions and 7,079 deletions.
63 changes: 0 additions & 63 deletions .github/workflows/build-test-deploy.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: 'Release'
on:
push:
branches: [main]

permissions:
contents: read
pages: write
id-token: write

jobs:
build_and_docs:
name: 'Build and Docs'
timeout-minutes: 5
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
- name: Setup Dependencies
run: |
corepack enable
npm install
- name: Build App and Typedoc
run: |
npm run build
npm run typedoc
- uses: actions/upload-pages-artifact@v3
with:
path: ./docs
- name: Deploy Typedoc to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Loading

0 comments on commit 5bdba10

Please sign in to comment.