|
29 | 29 | strategy: |
30 | 30 | matrix: |
31 | 31 | os: [ubuntu-latest, windows-latest, macos-latest] |
32 | | - python_version: [3.5, 3.6, 3.7, 3.8, 3.9, "pypy3"] |
| 32 | + python_version: [3.5, 3.6, 3.7, 3.8, 3.9, "3.10-dev", "pypy3"] |
33 | 33 | exclude: |
34 | 34 | # Do not test all minor versions on all platforms, especially if they |
35 | 35 | # are not the oldest/newest supported versions |
|
58 | 58 | steps: |
59 | 59 | - uses: actions/checkout@v1 |
60 | 60 | - name: Set up Python ${{ matrix.python_version }} |
61 | | - uses: actions/setup-python@v1 |
| 61 | + uses: actions/setup-python@v2 |
62 | 62 | with: |
63 | 63 | python-version: ${{ matrix.python_version }} |
64 | 64 | - name: Install project and dependencies |
@@ -96,14 +96,16 @@ jobs: |
96 | 96 |
|
97 | 97 | python-nightly: |
98 | 98 | runs-on: ubuntu-18.04 |
| 99 | + # This entry is made optional for now, see https://github.com/cloudpipe/cloudpickle/pull/420 |
| 100 | + if: "contains(github.event.pull_request.labels.*.name, 'ci python-nightly')" |
99 | 101 | steps: |
100 | 102 | - uses: actions/checkout@v1 |
101 | 103 | - name: Install Python from ppa:deadsnakes/nightly |
102 | 104 | run: | |
103 | 105 | sudo add-apt-repository ppa:deadsnakes/nightly |
104 | 106 | sudo apt update |
105 | | - sudo apt install python3.10 python3.10-venv python3.10-dev |
106 | | - python3.10 -m venv nightly-venv |
| 107 | + sudo apt install python3.11 python3.11-venv python3.11-dev |
| 108 | + python3.11 -m venv nightly-venv |
107 | 109 | echo "$PWD/nightly-venv/bin" >> $GITHUB_PATH |
108 | 110 | - name: Display Python version |
109 | 111 | run: python -c "import sys; print(sys.version)" |
|
0 commit comments