updated workflows
This commit is contained in:
parent
4c06cfee18
commit
f8dd026925
|
@ -1,70 +1,70 @@
|
||||||
## Name of your workflow.
|
# Name of your workflow.
|
||||||
#name: Android Integration Tests
|
name: Android Integration Tests
|
||||||
#on:
|
on:
|
||||||
# # Trigger the workflow on push or pull request,
|
# Trigger the workflow on push or pull request,
|
||||||
# # but only for the main branch
|
# but only for the main branch
|
||||||
# push:
|
push:
|
||||||
# branches:
|
branches:
|
||||||
# - master
|
- master
|
||||||
# pull_request:
|
pull_request:
|
||||||
# branches:
|
branches:
|
||||||
# - master
|
- master
|
||||||
## A workflow run is made up of one or more jobs.
|
# A workflow run is made up of one or more jobs.
|
||||||
#jobs:
|
jobs:
|
||||||
# # id of job, a string that is unique to the "jobs" node above.
|
# id of job, a string that is unique to the "jobs" node above.
|
||||||
# android_integration_tests:
|
android_integration_tests:
|
||||||
# # Creates a build matrix for your jobs. You can define different
|
# Creates a build matrix for your jobs. You can define different
|
||||||
# # variations of an environment to run each job in.
|
# variations of an environment to run each job in.
|
||||||
# strategy:
|
strategy:
|
||||||
# # A set of different configurations of the virtual
|
# A set of different configurations of the virtual
|
||||||
# # environment.
|
# environment.
|
||||||
# # matrix:
|
# matrix:
|
||||||
# # When set to true, GitHub cancels all in-progress jobs if any
|
# When set to true, GitHub cancels all in-progress jobs if any
|
||||||
# # matrix job fails.
|
# matrix job fails.
|
||||||
# fail-fast: false
|
fail-fast: false
|
||||||
# # The type of machine to run the job on.
|
# The type of machine to run the job on.
|
||||||
# runs-on: macOS-latest
|
runs-on: macOS-latest
|
||||||
# timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
# # Contains a sequence of tasks.
|
# Contains a sequence of tasks.
|
||||||
# steps:
|
steps:
|
||||||
# # The branch or tag ref that triggered the workflow will be
|
# The branch or tag ref that triggered the workflow will be
|
||||||
# # checked out.
|
# checked out.
|
||||||
# # https://github.com/actions/checkout
|
# https://github.com/actions/checkout
|
||||||
# - uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# # Sets up cache
|
# Sets up cache
|
||||||
# - name: Cache multiple paths
|
- name: Cache multiple paths
|
||||||
# uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
# with:
|
with:
|
||||||
# path: |
|
path: |
|
||||||
# ~/.pub-cache
|
~/.pub-cache
|
||||||
# ~/.npm
|
~/.npm
|
||||||
# key: ${{ runner.os }}-pub-and-npm-cache
|
key: ${{ runner.os }}-pub-and-npm-cache
|
||||||
# # Sets up a flutter environment.
|
# Sets up a flutter environment.
|
||||||
# # https://github.com/marketplace/actions/flutter-action
|
# https://github.com/marketplace/actions/flutter-action
|
||||||
# - name: "Install Flutter"
|
- name: "Install Flutter"
|
||||||
# uses: subosito/flutter-action@v1.4.0
|
uses: subosito/flutter-action@v1.4.0
|
||||||
# with:
|
with:
|
||||||
# channel: 'dev' # 'stable' or 'dev' or 'beta'
|
channel: 'dev' # 'stable' or 'dev' or 'beta'
|
||||||
# - name: "Change Flutter channel to master"
|
- name: "Change Flutter channel to master"
|
||||||
# run: |
|
run: |
|
||||||
# flutter channel master
|
flutter channel master
|
||||||
# flutter upgrade
|
flutter upgrade
|
||||||
# - uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
# with:
|
with:
|
||||||
# node-version: '14'
|
node-version: '14'
|
||||||
# - name: "Install npm dependencies"
|
- name: "Install npm dependencies"
|
||||||
# run: |
|
run: |
|
||||||
# cd ./nodejs_server_test_auth_basic_and_ssl
|
cd ./nodejs_server_test_auth_basic_and_ssl
|
||||||
# npm install
|
npm install
|
||||||
# cd ..
|
cd ..
|
||||||
# - name: "Install flutter dependencies"
|
- name: "Install flutter dependencies"
|
||||||
# run: |
|
run: |
|
||||||
# flutter pub get
|
flutter pub get
|
||||||
# # Sets up android emulator
|
# Sets up android emulator
|
||||||
# - name: "Run Android Flutter Integration Test"
|
- name: "Run Android Flutter Integration Test"
|
||||||
# uses: ReactiveCircus/android-emulator-runner@v2.14.3
|
uses: ReactiveCircus/android-emulator-runner@v2.14.3
|
||||||
# with:
|
with:
|
||||||
# api-level: 29
|
api-level: 29
|
||||||
# target: default
|
target: default
|
||||||
# avd-name: Flutter-Android
|
avd-name: Flutter-Android
|
||||||
# script: ./scripts/test.sh $(ipconfig getifaddr en0)
|
script: ./scripts/test.sh $(ipconfig getifaddr en0)
|
|
@ -1,69 +1,69 @@
|
||||||
## Name of your workflow.
|
# Name of your workflow.
|
||||||
#name: iOS Integration Tests
|
name: iOS Integration Tests
|
||||||
#on:
|
on:
|
||||||
# # Trigger the workflow on push or pull request,
|
# Trigger the workflow on push or pull request,
|
||||||
# # but only for the main branch
|
# but only for the main branch
|
||||||
# push:
|
push:
|
||||||
# branches:
|
branches:
|
||||||
# - master
|
- master
|
||||||
# pull_request:
|
pull_request:
|
||||||
# branches:
|
branches:
|
||||||
# - master
|
- master
|
||||||
## A workflow run is made up of one or more jobs.
|
# A workflow run is made up of one or more jobs.
|
||||||
#jobs:
|
jobs:
|
||||||
# # id of job, a string that is unique to the "jobs" node above.
|
# id of job, a string that is unique to the "jobs" node above.
|
||||||
# ios_integration_tests:
|
ios_integration_tests:
|
||||||
# # Creates a build matrix for your jobs. You can define different
|
# Creates a build matrix for your jobs. You can define different
|
||||||
# # variations of an environment to run each job in.
|
# variations of an environment to run each job in.
|
||||||
# strategy:
|
strategy:
|
||||||
# # A set of different configurations of the virtual
|
# A set of different configurations of the virtual
|
||||||
# # environment.
|
# environment.
|
||||||
# # matrix:
|
# matrix:
|
||||||
# # When set to true, GitHub cancels all in-progress jobs if any
|
# When set to true, GitHub cancels all in-progress jobs if any
|
||||||
# # matrix job fails.
|
# matrix job fails.
|
||||||
# fail-fast: false
|
fail-fast: false
|
||||||
# # The type of machine to run the job on.
|
# The type of machine to run the job on.
|
||||||
# runs-on: macOS-latest
|
runs-on: macOS-latest
|
||||||
# timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
# # Contains a sequence of tasks.
|
# Contains a sequence of tasks.
|
||||||
# steps:
|
steps:
|
||||||
# # A name for your step to display on GitHub.
|
# A name for your step to display on GitHub.
|
||||||
# - name: "Start Simulator"
|
- name: "Start Simulator"
|
||||||
# run: |
|
run: |
|
||||||
# xcrun simctl list
|
xcrun simctl list
|
||||||
# xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-12 com.apple.CoreSimulator.SimRuntime.iOS-14-3 | xargs xcrun simctl boot
|
xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-12 com.apple.CoreSimulator.SimRuntime.iOS-14-3 | xargs xcrun simctl boot
|
||||||
# # The branch or tag ref that triggered the workflow will be
|
# The branch or tag ref that triggered the workflow will be
|
||||||
# # checked out.
|
# checked out.
|
||||||
# # https://github.com/actions/checkout
|
# https://github.com/actions/checkout
|
||||||
# - uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# # Sets up cache
|
# Sets up cache
|
||||||
# - name: Cache multiple paths
|
- name: Cache multiple paths
|
||||||
# uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
# with:
|
with:
|
||||||
# path: |
|
path: |
|
||||||
# ~/.pub-cache
|
~/.pub-cache
|
||||||
# ~/.npm
|
~/.npm
|
||||||
# key: ${{ runner.os }}-pub-and-npm-cache
|
key: ${{ runner.os }}-pub-and-npm-cache
|
||||||
# # Sets up a flutter environment.
|
# Sets up a flutter environment.
|
||||||
# # https://github.com/marketplace/actions/flutter-action
|
# https://github.com/marketplace/actions/flutter-action
|
||||||
# - name: "Install Flutter"
|
- name: "Install Flutter"
|
||||||
# uses: subosito/flutter-action@v1.4.0
|
uses: subosito/flutter-action@v1.4.0
|
||||||
# with:
|
with:
|
||||||
# channel: 'dev' # 'stable' or 'dev' or 'beta'
|
channel: 'dev' # 'stable' or 'dev' or 'beta'
|
||||||
# - name: "Change Flutter channel to master"
|
- name: "Change Flutter channel to master"
|
||||||
# run: |
|
run: |
|
||||||
# flutter channel master
|
flutter channel master
|
||||||
# flutter upgrade
|
flutter upgrade
|
||||||
# - uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
# with:
|
with:
|
||||||
# node-version: '14'
|
node-version: '14'
|
||||||
# - name: "Install npm dependencies"
|
- name: "Install npm dependencies"
|
||||||
# run: |
|
run: |
|
||||||
# cd ./nodejs_server_test_auth_basic_and_ssl
|
cd ./nodejs_server_test_auth_basic_and_ssl
|
||||||
# npm install
|
npm install
|
||||||
# cd ..
|
cd ..
|
||||||
# - name: "Run iOS Flutter Integration Test"
|
- name: "Run iOS Flutter Integration Test"
|
||||||
# run: |
|
run: |
|
||||||
# flutter pub get
|
flutter pub get
|
||||||
# flutter devices
|
flutter devices
|
||||||
# ./scripts/test.sh $(ipconfig getifaddr en0)
|
./scripts/test.sh $(ipconfig getifaddr en0)
|
Loading…
Reference in New Issue