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

Update to latest main #1648

Merged
merged 21 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
5f4be90
Cache notification callback JNI class references at startup (#1598)
rorbech Dec 11, 2023
d94e70c
Fix CHANGELOG
rorbech Dec 11, 2023
445a6a9
Platform networking (#1528)
nhachicha Dec 12, 2023
d558434
Fix Realm.asFlow() potentially missing an update when doing a write i…
cmelchior Dec 15, 2023
2d5cdba
Add Gradle 8.5 test project (#1602)
cmelchior Dec 15, 2023
fdcd389
Add new publishCIPackages target in Gradle to make it easier to contr…
cmelchior Dec 19, 2023
8046324
Fix various dispatcher issues (#1611)
cmelchior Jan 9, 2024
fd54a30
Fix native libs other than macos being copied correctly. (#1624)
cmelchior Jan 11, 2024
fcefa8a
Propagate user-level exceptions during client reset (#1581)
clementetb Jan 15, 2024
b0b325f
Make it configurable which native libs to copy when building (instead…
cmelchior Jan 15, 2024
1659328
Move reference to DynamicMutableRealm inline as it interfers with R8 …
Jan 17, 2024
c08a3d3
Update to Core 13.26.0
Jan 23, 2024
ba6d423
Revert "Update to Core 13.26.0"
Jan 25, 2024
697e738
Add support for Github Actions (#881)
Jan 30, 2024
8357565
Trigger Github Actions on pushes to main or releases branches
Jan 30, 2024
3d7df67
Using library version to unpack JVM libs (#1637)
nhachicha Jan 31, 2024
ccecf12
Merge branch 'main' into next-major
rorbech Feb 2, 2024
40ca993
Bump to latest next-major core
rorbech Feb 2, 2024
e30c793
Remove deprecated RLM_TYPE_SET enum entry
rorbech Feb 2, 2024
6a03fb6
Updates to changed C-API
rorbech Feb 2, 2024
8dd0eba
Fix expected syntax error exception message
rorbech Feb 5, 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
80 changes: 80 additions & 0 deletions .github/actions/run-android-device-farm-test/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: 'Run Android tests on Device Farm'
inputs:
apk-path:
required: true
apk-auxiliary-path:
description: 'Install additional APKs needed for the tests'
default: ''
required: false
baas_url:
description: 'URL of the test server to be used'
required: true
type: string
app-id:
description: 'The test runner class to use'
required: true
project-arn:
required: true
device-pool-arn:
required: true
arguments:
default: _
outputs:
test-results-path:
value: ${{ steps.get-test-results.outputs.results-path }}
runs:
using: "composite"
steps:
- name: Run the tests
uses: nhachicha/aws-devicefarm/test-application@master

id: run-tests
with:
project_arn: ${{ inputs.project-arn }}
device_pool_arn: ${{ inputs.device-pool-arn }}
app_file: ${{ inputs.apk-path }}
app_auxiliary_files: ${{ inputs.apk-auxiliary-path }}
app_type: ANDROID_APP
test_type: APPIUM_PYTHON
test_package_file: https://github.com/realm/aws-devicefarm-sample-data/releases/download/0.3/sample_env_python3.zip
test_package_type: APPIUM_PYTHON_TEST_PACKAGE
test_spec_file: test_spec-${{ inputs.app-id }}.yaml
test_spec_type: APPIUM_PYTHON_TEST_SPEC
remote_src: true
test_spec: |
version: 0.1
phases:
install:
commands:
- export PYTHON_VERSION=3
test:
commands:
- adb shell pm list packages | grep realm
- adb shell am instrument -w -e baas_url ${{ inputs.baas_url }} -r ${{ inputs.app-id }}/androidx.test.runner.AndroidJUnitRunner | egrep 'OK \([0-9]+ test[s]?\)'

- run: |
Install-Module -Name AWSPowerShell -Force
echo "::group::Data"
echo (ConvertFrom-Json '${{ steps.run-tests.outputs.data }}' | ConvertTo-Json)
echo "::endgroup::"
Import-Module AWSPowerShell
$runs = Get-DFRunList -Arn ${{ inputs.project-arn }}
$jobs = Get-DFJobList -Arn $runs[0].Arn
$suites = Get-DFSuiteList -Arn $jobs[0].Arn
$fileArtifacts = Get-DFArtifactList -Arn $suites[1].Arn -Type File
echo "All File Artifacts:"
echo $fileArtifacts
$logCatArtifacts = $fileArtifacts | Where-Object { $_.Name -EQ "Logcat" }
if ($logCatArtifacts) {
echo "LogCat Artifacts:"
echo $logCatArtifacts
echo "::group::Logcat"
Invoke-WebRequest -Uri $logCatArtifacts[0].Url | Select-Object -Expand RawContent
echo "::endgroup::"
} else {
Write-Warning "No logCatArtifacts found."
}

shell: pwsh
if: always()
name: Device Farm Output
3 changes: 1 addition & 2 deletions .github/workflows/auto-merge-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ jobs:
id: find-target-branch
shell: sh
run: |
if [ "${GITHUB_REF#refs/heads/}" = "main" ]; then echo '::set-output name=branch::releases/ktor2-support'; fi
if [ "${GITHUB_REF#refs/heads/}" = "releases" ]; then echo '::set-output name=branch::${{ github.event.repository.default_branch }}'; fi
if [ "${GITHUB_REF#refs/heads/}" = "releases" ]; then echo 'branch=${{ github.event.repository.default_branch }}' >> $GITHUB_OUTPUT; fi

# Unconditionally create a PR with the changes that needs to be manually reviewed.
# https://cli.github.com/manual/gh_pr_create
Expand Down
Loading
Loading