diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 19f62eb..98f0cf1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,12 +1,6 @@ name: Tests -on: - push: - branches: - - master - pull_request: - branches: - - master +on: [push, pull_request, workflow_dispatch] jobs: build_ubuntu: @@ -17,13 +11,16 @@ jobs: - '3.8' - '3.9' - '3.10' + - '3.11' name: ${{ matrix.python }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} + cache: pip + cache-dependency-path: ".github/workflows/tests.yml" - name: setup run: | python --version