Sha256: d36b49d7609ace59362db6d23e489d0265ac3f4b0235cad0e9ff798237671430
Contents?: true
Size: 1.64 KB
Versions: 1
Compression:
Stored size: 1.64 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.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.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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
appium_lib_core-4.0.0 | .github/workflows/unittest.yml |