Merge pull request #51 from robotpy/update-ci
Update CI to latest ubuntu runners
This commit is contained in:
commit
44ab824ffd
24
.github/workflows/dist.yml
vendored
24
.github/workflows/dist.yml
vendored
@ -13,16 +13,16 @@ jobs:
|
|||||||
check:
|
check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: psf/black@stable
|
- uses: psf/black@stable
|
||||||
|
|
||||||
check-mypy:
|
check-mypy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
# - uses: jpetrucciani/mypy-check@0.930
|
# - uses: jpetrucciani/mypy-check@0.930
|
||||||
# .. can't use that because we need to install pytest
|
# .. can't use that because we need to install pytest
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
- name: Install requirements
|
- name: Install requirements
|
||||||
@ -33,15 +33,15 @@ jobs:
|
|||||||
mypy .
|
mypy .
|
||||||
|
|
||||||
check-doc:
|
check-doc:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
- name: Sphinx
|
- name: Sphinx
|
||||||
@ -54,22 +54,22 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [windows-latest, macos-latest, ubuntu-18.04]
|
os: [windows-latest, macos-latest, ubuntu-20.04]
|
||||||
python_version: [3.6, 3.7, 3.8, 3.9, "3.10"]
|
python_version: [3.6, 3.7, 3.8, 3.9, "3.10"]
|
||||||
architecture: [x86, x64]
|
architecture: [x86, x64]
|
||||||
exclude:
|
exclude:
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
architecture: x86
|
architecture: x86
|
||||||
- os: ubuntu-18.04
|
- os: ubuntu-20.04
|
||||||
architecture: x86
|
architecture: x86
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python_version }}
|
python-version: ${{ matrix.python_version }}
|
||||||
architecture: ${{ matrix.architecture }}
|
architecture: ${{ matrix.architecture }}
|
||||||
@ -97,12 +97,12 @@ jobs:
|
|||||||
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
|
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
- run: pip --disable-pip-version-check install wheel
|
- run: pip --disable-pip-version-check install wheel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user