If you accidentally tag the wrong commit, or if you have a new commit before publishing then you may be able to re-tag without incrementing your library's version #
git push origin :refs/tags/0.21.0
# Minorly adjusted from https://gist.github.com/badsyntax/ce848ab40b952d944c496575d40e5427 and https://github.com/igorboskovic3/actions-test/actions/runs/3239143575/workflow | |
name: HAXM Installation before Android Test Snippet | |
# Controls when the workflow will run | |
on: | |
workflow_dispatch: | |
jobs: | |
install-haxm-and-run-emulator: |
# Minorly adjusted from https://gist.github.com/badsyntax/ce848ab40b952d944c496575d40e5427 and https://github.com/igorboskovic3/actions-test/actions/runs/3239143575/workflow | |
name: HAXM Installation before Android Test Snippet | |
# Controls when the workflow will run | |
on: | |
workflow_dispatch: | |
jobs: | |
install-haxm-and-run-emulator: |
# https://aka.ms/yaml | |
trigger: | |
branches: | |
include: | |
- main | |
- releases/* | |
- hotfix/* | |
pr: | |
autoCancel: true |
#!/usr/bin/env bash | |
######################################################################## | |
# Goal: Run this script and start automating! | |
# 1) Pull all changes for Appium/iOS/Android repo | |
# 2) Build iOS App then Copy to Appium Repo | |
# 3) Build Android App then Copy to Appium Repo | |
# 4) Allow user to choose emulator, launch emulator, install app | |
######################################################################## |
#!/usr/bin/env bash | |
#################################################################################### | |
# Adapted from various wait-for-boot scripts found online | |
# This is the most robust version I could write for MacOS | |
# MUST have upgraded Bash to run mapfile | |
# Can adapt the last 2 functions if you want to start an Emulator on CI | |
# This is part of a script we run locally before starting Appium automation on Android | |
#################################################################################### |
Prompts for path to .mov
and allows user to enter a .gif
name. Then converts that .mov
file to a .gif
and saves to ~/Downloads/
.
Inspired by: https://gist.github.com/dergachev/4627207
convert_movie_to_gif.sh
, and then run chmod +x ./convert_movie_to_gif.sh
to make it executable.
It's a lot easier to test accessibility on the fly using ADB. This gist attempts to make the days of navigating through the Android device settings UI to change Accessibility settings obsolete.
These ADB commands will hopefully encourage Android developers to test and use their apps with common Accessiblility settings enabled.
Credit to James Nitsch for inspiring this, and for figuring out the put
commands to enable these settings.
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader | |
== Shell |
There are many ways to test Jenkins...
Jenkins Pipeline Unit is great but it's generally recommended to keep all of your logic with stages and not get too crazy with custom Groovy in your pipeline. Though, it's a great option if you have a very advanced use-case and want to make sure your code is reliable.
The Replay Pipeline Run Option is awesome if you want to verify a quick change or iterate quickly on a previously setup pipeline. But it only allows for altering Jenkinsfile Code and runs against the production Jenkins Instance.