Skip to content

Commit cc875e4

Browse files
committed
Testing CI build.
1 parent 0c5f8ec commit cc875e4

File tree

2 files changed

+48
-2
lines changed

2 files changed

+48
-2
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Ensures certain packages work on simulators
2+
name: Test Simulators
3+
4+
on:
5+
push:
6+
7+
jobs:
8+
test:
9+
name: Test Simulators
10+
runs-on: ubuntu-xl
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
persist-credentials: false
15+
16+
- name: Setup NodeJS
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version-file: '.nvmrc'
20+
21+
- uses: pnpm/action-setup@v2
22+
name: Install pnpm
23+
with:
24+
version: 9
25+
run_install: false
26+
27+
- name: Get pnpm store directory
28+
shell: bash
29+
run: |
30+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
31+
32+
- uses: actions/cache@v3
33+
name: Setup pnpm cache
34+
with:
35+
path: ${{ env.STORE_PATH }}
36+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
37+
restore-keys: |
38+
${{ runner.os }}-pnpm-store-
39+
40+
- name: Install dependencies
41+
run: pnpm install
42+
43+
- name: Build
44+
run: pnpm build:packages
45+
46+
- name: Test Demos
47+
working-directory: ./tools/powersynctests
48+
run: pnpx detox build --configuration ios.sim.release

tools/powersynctests/src/widgets/SuitWidget.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export const SuitWidget = (props: SuitWidgetProps): React.JSX.Element => {
2525
},
2626
);
2727
const id = suit.fullTitle().trim();
28-
console.log(id + '-count');
2928
return (
3029
<Card style={styles.card}>
3130
<Card.Content>
@@ -51,7 +50,6 @@ export const SuitWidget = (props: SuitWidgetProps): React.JSX.Element => {
5150
});
5251
try {
5352
const r = await runFiltered(suit);
54-
console.log(r);
5553

5654
const testStates = new Map<string, TestState>();
5755
suit.tests.forEach(test => {

0 commit comments

Comments
 (0)