Sha256: 4ad12c531b1a51c3fc7b6f64c5c1ca7652ee57d392439569756bad0d7a3b9c3f
Contents?: true
Size: 1.66 KB
Versions: 3
Compression:
Stored size: 1.66 KB
Contents
name: Runs lint and unit tests on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: strategy: fail-fast: false matrix: ruby: [2.2, 2.3, 2.4, 2.5, 2.6, 2.7] runs-on: ubuntu-latest env: UNIT_TEST: true steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install dependencies run: bundle install - name: Run tests run: | bundle exec rake rubocop bundle exec parallel_test test/unit/ -n 4 AUTOMATION_NAME_DROID=espresso bundle exec parallel_test test/unit/android -n 4 AUTOMATION_NAME_DROID=appium AUTOMATION_NAME_IOS=appium bundle exec parallel_test test/unit -n 4 test-win: strategy: fail-fast: false matrix: # Does not add 2.7 on Windows so far since a command fails only on Windows ruby: [2.2, 2.3, 2.4, 2.5, 2.6] runs-on: windows-latest env: UNIT_TEST: true steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install dependencies run: | gem install ffi bundle install gem uninstall --force eventmachine && gem install eventmachine --platform ruby - name: Run tests run: | parallel_test test/unit/ -n 4 setx AUTOMATION_NAME_DROID espresso parallel_test test/unit/android -n 4 setx AUTOMATION_NAME_DROID appium setx AUTOMATION_NAME_IOS appium parallel_test test/unit -n 4
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
appium_lib_core-3.11.1 | .github/workflows/unittest.yml |
appium_lib_core-3.11.0 | .github/workflows/unittest.yml |
appium_lib_core-3.10.1 | .github/workflows/unittest.yml |