diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 4896efe..79dfbad 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -12,19 +12,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11" cache: pip cache-dependency-path: pyproject.toml - name: Install dependencies run: | python -m pip install --upgrade pip - pip install .[strict] - pip install .[tests] - pip install .[dev] + pip install .[tests,dev] - name: Lint run: | @@ -34,12 +32,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ "3.9", "3.10", "3.11" ] + python-version: ["3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v2.2.2 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -53,7 +51,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install .[strict] pip install .[tests] - name: Test @@ -61,7 +58,7 @@ jobs: pytest --cov=pyrho --cov-report=xml - uses: codecov/codecov-action@v1 - if: matrix.python-version == 3.8 + if: matrix.python-version == 3.11 with: token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.xml @@ -70,19 +67,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install pandoc run: sudo apt-get install pandoc - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5 with: python-version: 3.11 - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e .[strict] pip install -e .[docs] - name: Build run: sphinx-build docs/source _build