# From https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-python name: Test with pytest on: [push] jobs: run-tests: runs-on: ubuntu-latest strategy: matrix: python_version: [3.8, 3] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python_version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python_version }} - name: Install dependencies run: python -m pip install miniirc pytest 'requests>=2.22.0,<3' - name: Run pytest run: pytest