Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Sep 8, 2024
1 parent 34cecc3 commit b4558d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,11 @@ jobs:
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./scripts/test-android.sh
emulator-options: -no-window -no-boot-anim -no-audio -no-snapshot-load
script: |
adb wait-for-device
adb shell input keyevent 82
./scripts/test-android.sh
# - name: Build example for Android
# env:
Expand Down
11 changes: 2 additions & 9 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import clsx from 'clsx';
import {styled} from 'nativewind';
import {useEffect, useState} from 'react';
import {SafeAreaView, ScrollView, Text, View} from 'react-native';
import {BridgeServer} from 'react-native-http-bridge-refurbished';
Expand All @@ -10,12 +9,6 @@ import {blobTests, dbSetupTests, queriesTests, runTests} from './tests/index';
import {preparedStatementsTests} from './tests/preparedStatements.spec';
import {reactiveTests} from './tests/reactive.spec';

const StyledScrollView = styled(ScrollView, {
props: {
contentContainerStyle: true,
},
});

export default function App() {
const [results, setResults] = useState<any>([]);
useEffect(() => {
Expand Down Expand Up @@ -58,7 +51,7 @@ export default function App() {

return (
<SafeAreaView className="flex-1 bg-neutral-900">
<StyledScrollView>
<ScrollView>
<Text
className={clsx('font-bold flex-1 text-white p-2 mt-4', {
'bg-green-500': allTestsPassed,
Expand Down Expand Up @@ -108,7 +101,7 @@ export default function App() {
</View>
);
})}
</StyledScrollView>
</ScrollView>
</SafeAreaView>
);
}

0 comments on commit b4558d3

Please sign in to comment.