name: Unit tests on: push: branches: [master, features] pull_request: branches: [master, features] jobs: legacy-unit-tests: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: - ubuntu-18.04 - ubuntu-20.04 - macos-10.15 - macos-11.0 python-version: - '3.7' - '3.8' - '3.9' name: Legacy unit tests (Python ${{ matrix.python-version }} on ${{ matrix.os }}) steps: - uses: actions/checkout@v1 - name: Set up Python uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | pip install --upgrade pip pipenv pipenv sync -d - name: Unit tests env: COVERALLS_PRO_TOKEN: ${{ secrets.COVERALLS_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | make test pipenv run coveralls --service=github unit-tests: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: - ubuntu-18.04 - ubuntu-20.04 - macos-10.15 - macos-11.0 python-version: - '3.7' - '3.8' - '3.9' - '3.10' name: Unit tests (Python ${{ matrix.python-version }} on ${{ matrix.os }}) steps: - uses: actions/checkout@v1 - name: Set up Python uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | pip install --upgrade pip pipenv pipenv sync -d - name: Unit tests env: COVERALLS_PRO_TOKEN: ${{ secrets.COVERALLS_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | make test pipenv run coveralls --service=github