chore: token again #14
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
name: E2E | ||
on: | ||
push: | ||
branches: | ||
- '**' | ||
pull_request: | ||
branches: | ||
- '**' | ||
jobs: | ||
setup: | ||
uses: ./.github/workflows/reusable_setup.yml | ||
Check failure on line 13 in .github/workflows/e2e-test.yml GitHub Actions / E2EInvalid workflow file
Check failure on line 13 in .github/workflows/e2e-test.yml GitHub Actions / E2EInvalid workflow file
|
||
secrets: | ||
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }} | ||
ios: | ||
if: true | ||
needs: 'setup' | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }} | ||
- run: | | ||
curl -Ls "https://get.maestro.mobile.dev" | bash | ||
export PATH="$PATH":"$HOME/.maestro/bin" | ||
brew tap facebook/fb | ||
brew install facebook/fb/idb-companion | ||
./e2e/scripts/RuniOSTest.sh | ||
android: | ||
if: false | ||
needs: 'setup' | ||
runs-on: macos-14 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }} | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
- name: Add avdmanager and sdkmanager to system PATH | ||
run: | | ||
echo "$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_HOME/build-tools/${{ env.ANDROID_BUILD_TOOLS_VERSION }}" >> $GITHUB_PATH | ||
- name: Sdk | ||
run: | | ||
yes Y | sdkmanager --licenses | ||
- name: "Run Tests" | ||
run: | | ||
curl -Ls "https://get.maestro.mobile.dev" | bash | ||
export PATH="$PATH":"$HOME/.maestro/bin" | ||
./e2e/scripts/RunAndroidTest.sh |