mirror of
				https://kkgithub.com/actions/setup-python.git
				synced 2025-10-31 02:31:52 +08:00 
			
		
		
		
	Add and configure ESLint and update configuration for Prettier (#617)
* Add ESLint, update Prettier * Update docs * Update tests * Update licenses * Fix review points
This commit is contained in:
		
							
								
								
									
										34
									
								
								.github/workflows/test-pypy.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										34
									
								
								.github/workflows/test-pypy.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,6 +1,6 @@ | ||||
| name: Validate PyPy e2e | ||||
|  | ||||
| on:  | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - main | ||||
| @ -21,22 +21,22 @@ jobs: | ||||
|       matrix: | ||||
|         os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-latest] | ||||
|         pypy: | ||||
|         - 'pypy-2.7' | ||||
|         - 'pypy-3.7' | ||||
|         - 'pypy3.9' | ||||
|         - 'pypy-2.7-v7.3.4' | ||||
|         - 'pypy-3.7-v7.3.5' | ||||
|         - 'pypy-3.7-v7.3.4' | ||||
|         - 'pypy-3.7-v7.3.x' | ||||
|         - 'pypy-3.7-v7.x' | ||||
|         - 'pypy-2.7-v7.3.4rc1' | ||||
|         - 'pypy-3.7-nightly' | ||||
|         - 'pypy3.8-v7.3.7' | ||||
|           - 'pypy-2.7' | ||||
|           - 'pypy-3.7' | ||||
|           - 'pypy3.9' | ||||
|           - 'pypy-2.7-v7.3.4' | ||||
|           - 'pypy-3.7-v7.3.5' | ||||
|           - 'pypy-3.7-v7.3.4' | ||||
|           - 'pypy-3.7-v7.3.x' | ||||
|           - 'pypy-3.7-v7.x' | ||||
|           - 'pypy-2.7-v7.3.4rc1' | ||||
|           - 'pypy-3.7-nightly' | ||||
|           - 'pypy3.8-v7.3.7' | ||||
|  | ||||
|     steps: | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v3 | ||||
|    | ||||
|  | ||||
|       - name: setup-python ${{ matrix.pypy }} | ||||
|         id: setup-python | ||||
|         uses: ./ | ||||
| @ -49,7 +49,7 @@ jobs: | ||||
|  | ||||
|       - name: PyPy and Python version | ||||
|         run: python --version | ||||
|    | ||||
|  | ||||
|       - name: Run simple code | ||||
|         run: python -c 'import math; print(math.factorial(5))' | ||||
|  | ||||
| @ -138,8 +138,8 @@ jobs: | ||||
|         uses: ./ | ||||
|         with: | ||||
|           python-version: | | ||||
|               pypy-3.7-v7.3.x | ||||
|               pypy3.8 | ||||
|             pypy-3.7-v7.3.x | ||||
|             pypy3.8 | ||||
|           check-latest: true | ||||
|       - name: PyPy and Python version | ||||
|         run: python --version | ||||
| @ -166,4 +166,4 @@ jobs: | ||||
|           EXECUTABLE=${EXECUTABLE/pypy-/pypy}  # remove the first '-' in "pypy-X.Y" -> "pypyX.Y" to match executable name | ||||
|           EXECUTABLE=${EXECUTABLE%%-*}  # remove any -* suffixe | ||||
|           ${EXECUTABLE} --version | ||||
|         shell: bash | ||||
|         shell: bash | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Ivan
					Ivan