fomat update

This commit is contained in:
Aparna Jyothi 2025-04-17 15:06:42 +05:30
parent b3d00b79c6
commit afa05ce07d

View File

@ -3,7 +3,7 @@ name: e2e tests
on: on:
push: push:
branches: branches:
- samplev4 - main
paths-ignore: paths-ignore:
- '**.md' - '**.md'
pull_request: pull_request:
@ -13,23 +13,22 @@ on:
jobs: jobs:
test-setup-python: test-setup-python:
name: Test setup-python name: Test setup-python
runs-on: ${{ matrix.operating-system }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
operating-system: [ubuntu-22.04, windows-latest] os: [ubuntu-22.04, windows-latest]
fail-fast: false
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Run with setup-python 3.6 - name: Run with setup-python 3.6
if: ${{ matrix.operating-system == 'windows-latest' }} if: ${{ matrix.os == 'windows-latest' }}
uses: ./ uses: ./
with: with:
python-version: 3.6 python-version: 3.6
- name: Verify 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 run: python __tests__/verify-python.py 3.6
- name: Run with setup-python 3.7 - name: Run with setup-python 3.7
@ -47,32 +46,50 @@ jobs:
run: python __tests__/verify-python.py 3.8 run: python __tests__/verify-python.py 3.8
- name: Run with setup-python 3.7.5 - name: Run with setup-python 3.7.5
if: ${{ matrix.operating-system == 'windows-latest' }} if: ${{ matrix.os == 'windows-latest' }}
uses: ./ uses: ./
with: with:
python-version: 3.7.5 python-version: 3.7.5
- name: Verify 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 run: python __tests__/verify-python.py 3.7.5
- name: Run with setup-python 3.6.7 - name: Run with setup-python 3.6.7
if: ${{ matrix.operating-system == 'windows-latest' }} if: ${{ matrix.os == 'windows-latest' }}
uses: ./ uses: ./
with: with:
python-version: 3.6.7 python-version: 3.6.7
- name: Verify 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 run: python __tests__/verify-python.py 3.6.7
- name: Run with setup-python 3.8.1 - name: Run with setup-python 3.8.1
if: ${{ matrix.operating-system == 'windows-latest' }} if: ${{ matrix.os == 'windows-latest' }}
uses: ./ uses: ./
with: with:
python-version: 3.8.1 python-version: 3.8.1
- name: Verify 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 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 - name: Run with setup-python 3.10
id: cp310 id: cp310
uses: ./ uses: ./