name: pytest

on: [push, pull_request]

jobs:
  test-ubuntu:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.6, 3.7, 3.8]
    steps:
    - uses: actions/checkout@v2
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        pip install --upgrade pip setuptools
        pip install .
        pip install .[reverb]
        pip install .[jax]
        pip install .[tf]
        pip install .[envs]
        pip install .[testing]
        pip install gym[atari]
    - name: Check types with pytype
      run: |
        pytype -j "$(grep -c ^processor /proc/cpuinfo)" acme
    - name: Test with pytest
      run: |
        pytest -n "$(grep -c ^processor /proc/cpuinfo)" acme

name: pytest

on: [push, pull_request]

jobs:
  test-ubuntu:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.6, 3.7, 3.8]
    steps:
    - uses: actions/checkout@v2
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        pip install --upgrade pip setuptools
        pip install .
        pip install .[reverb]
        pip install .[jax]
        pip install .[tf]
        pip install .[envs]
        pip install .[testing]
        pip install .[launchpad]
    - name: Check types with pytype
      run: |
        pytype -j "$(grep -c ^processor /proc/cpuinfo)" acme
    - name: Test with pytest
      run: |
        pytest -n "$(grep -c ^processor /proc/cpuinfo)" acme

Install launchpad for CI, and don't install gym[atari].
Install launchpad for CI, and don't install gym[atari].

PiperOrigin-RevId: 375504709
Change-Id: Ib71c644af0edbc6f58cbdb559c89e161265dc2a5
