-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is an initial test to see if hardware acceleration works in CI
- Loading branch information
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,22 @@ jobs: | |
- uses: actions/setup-node@v4 | ||
- run: npm ci | ||
|
||
ui-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# Build the docker image containing the Android emulator and all the test dependencies. | ||
- run: | | ||
docker build --network=host --tag inrupt-wallet-frontend-ui-tests:test . | ||
# Run the Detox tests in the emulator container. | ||
- run: | | ||
docker run -it \ | ||
--env EXPO_PUBLIC_LOGIN_URL="https://datawallet.inrupt.com/oauth2/authorization/wallet-app" \ | ||
--env EXPO_PUBLIC_WALLET_API="https://datawallet.inrupt.com" \ | ||
# FIXME read these from secrets, this is just for initial testing | ||
--env TEST_ACCOUNT_USERNAME="some-username" \ | ||
--env TEST_ACCOUNT_PASSWORD="some-password" \ | ||
inrupt-wallet-frontend-ui-tests:test | ||
sonarqube: | ||
name: run sonarqube | ||
if: ${{ github.actor != 'dependabot[bot]' }} | ||
|
@@ -41,4 +57,4 @@ jobs: | |
uses: kitabisa/[email protected] | ||
with: | ||
host: ${{ secrets.SONARQUBE_HOST }} | ||
login: ${{ secrets.SONARQUBE_DEV_INRUPT_COM_GITHUB_TOKEN }} | ||
login: ${{ secrets.SONARQUBE_DEV_INRUPT_COM_GITHUB_TOKEN }} |