mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
fomat update
This commit is contained in:
parent
b3d00b79c6
commit
afa05ce07d
1 changed files with 29 additions and 12 deletions
41
.github/workflows/e2e-tests.yml
vendored
41
.github/workflows/e2e-tests.yml
vendored
|
@ -3,7 +3,7 @@ name: e2e tests
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- samplev4
|
||||
- main
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
pull_request:
|
||||
|
@ -13,23 +13,22 @@ on:
|
|||
jobs:
|
||||
test-setup-python:
|
||||
name: Test setup-python
|
||||
runs-on: ${{ matrix.operating-system }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
operating-system: [ubuntu-22.04, windows-latest]
|
||||
fail-fast: false
|
||||
os: [ubuntu-22.04, windows-latest]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run with setup-python 3.6
|
||||
if: ${{ matrix.operating-system == 'windows-latest' }}
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
uses: ./
|
||||
with:
|
||||
python-version: 3.6
|
||||
- name: Verify 3.6
|
||||
if: ${{ matrix.operating-system == 'windows-latest' }}
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
run: python __tests__/verify-python.py 3.6
|
||||
|
||||
- name: Run with setup-python 3.7
|
||||
|
@ -47,32 +46,50 @@ jobs:
|
|||
run: python __tests__/verify-python.py 3.8
|
||||
|
||||
- name: Run with setup-python 3.7.5
|
||||
if: ${{ matrix.operating-system == 'windows-latest' }}
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
uses: ./
|
||||
with:
|
||||
python-version: 3.7.5
|
||||
- name: Verify 3.7.5
|
||||
if: ${{ matrix.operating-system == 'windows-latest' }}
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
run: python __tests__/verify-python.py 3.7.5
|
||||
|
||||
- name: Run with setup-python 3.6.7
|
||||
if: ${{ matrix.operating-system == 'windows-latest' }}
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
uses: ./
|
||||
with:
|
||||
python-version: 3.6.7
|
||||
- name: Verify 3.6.7
|
||||
if: ${{ matrix.operating-system == 'windows-latest' }}
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
run: python __tests__/verify-python.py 3.6.7
|
||||
|
||||
- name: Run with setup-python 3.8.1
|
||||
if: ${{ matrix.operating-system == 'windows-latest' }}
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
uses: ./
|
||||
with:
|
||||
python-version: 3.8.1
|
||||
- name: Verify 3.8.1
|
||||
if: ${{ matrix.operating-system == 'windows-latest' }}
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
run: python __tests__/verify-python.py 3.8.1
|
||||
|
||||
- name: Run with setup-python 3.7.13
|
||||
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
||||
uses: ./
|
||||
with:
|
||||
python-version: 3.7.13
|
||||
- name: Verify 3.7.13
|
||||
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
||||
run: python __tests__/verify-python.py 3.7.13
|
||||
|
||||
- name: Run with setup-python 3.8.12
|
||||
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
||||
uses: ./
|
||||
with:
|
||||
python-version: 3.8.12
|
||||
- name: Verify 3.8.12
|
||||
if: ${{ matrix.os == 'ubuntu-22.04' }}
|
||||
run: python __tests__/verify-python.py 3.8.12
|
||||
|
||||
- name: Run with setup-python 3.10
|
||||
id: cp310
|
||||
uses: ./
|
||||
|
|
Loading…
Add table
Reference in a new issue