name: Test on: push: branches: - develop pull_request: jobs: test: runs-on: ubuntu-latest strategy: matrix: python-version: [ "3.10", "3.11" ] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install Poetry uses: abatilo/actions-poetry@v2.1.6 with: poetry-version: 1.4.1 - name: Install dependencies run: | poetry install --no-interaction - name: Run pytest run: | poetry run pytest --cov isdn