Skip to content

Commit

Permalink
ci: temporarily removing test running
Browse files Browse the repository at this point in the history
  • Loading branch information
tanderson-ld committed Mar 8, 2024
1 parent fb9a93a commit 1fcea27
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/actions/ci/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,27 @@ runs:
id: build
run: ./gradlew build jar

- name: Run Unit Tests
if: inputs.run_tests == 'true'
shell: bash
run: ./gradlew test

- name: Build contract tests
shell: bash
run: make build-contract-tests

- name: Perform Instrumented Tests
uses: reactivecircus/android-emulator-runner@6b0df4b0efb23bb0ec63d881db79aefbc976e4b2 #2.30.1
with:
api-level: ${{ inputs.android_api_level }}
target: google_apis
emulator-boot-timeout: 900
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: |
make start-contract-test-service
make run-contract-tests
./gradlew connectedDebugAndroidTest
# - name: Run Unit Tests
# if: inputs.run_tests == 'true'
# shell: bash
# run: ./gradlew test
#
# - name: Build contract tests
# shell: bash
# run: make build-contract-tests
#
# - name: Perform Instrumented Tests
# uses: reactivecircus/android-emulator-runner@6b0df4b0efb23bb0ec63d881db79aefbc976e4b2 #2.30.1
# with:
# api-level: ${{ inputs.android_api_level }}
# target: google_apis
# emulator-boot-timeout: 900
# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
# disable-animations: true
# script: |
# make start-contract-test-service
# make run-contract-tests
# ./gradlew connectedDebugAndroidTest

- name: Build documentation
uses: ./.github/actions/build-docs
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ jobs:
id-token: write
contents: read
steps:
# This enables hardware acceleration on large linux runners
- name: Enable KVM group perms
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- uses: actions/checkout@v4

- name: CI check
Expand Down

0 comments on commit 1fcea27

Please sign in to comment.