You've already forked httpie-cli
							
							
				mirror of
				https://github.com/httpie/cli.git
				synced 2025-10-30 23:47:52 +02:00 
			
		
		
		
	* Remove redundant systems * Drop it from the docs * Remove the packaging info about the legacy systems * Fix some typos * Drop support for python 3.6
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| on:
 | |
|   push:
 | |
|     branches:
 | |
|       - master
 | |
|     paths:
 | |
|       - .github/workflows/tests.yml
 | |
|       - httpie/**/*.py
 | |
|       - setup.*
 | |
|       - tests/**/*.py
 | |
|   pull_request:
 | |
|     paths:
 | |
|       - .github/workflows/tests.yml
 | |
|       - httpie/**/*.py
 | |
|       - setup.*
 | |
|       - tests/**/*.py
 | |
| 
 | |
| jobs:
 | |
|   test:
 | |
|     strategy:
 | |
|       fail-fast: false
 | |
|       matrix:
 | |
|         os: [ubuntu-latest, macos-latest, windows-latest]
 | |
|         python-version: [3.7, 3.8, 3.9, "3.10"]
 | |
|         pyopenssl: [0, 1]
 | |
|     runs-on: ${{ matrix.os }}
 | |
|     steps:
 | |
|       - uses: actions/checkout@v2
 | |
|       - uses: actions/setup-python@v2
 | |
|         with:
 | |
|           python-version: ${{ matrix.python-version }}
 | |
|       - name: Windows setup
 | |
|         if: matrix.os == 'windows-latest'
 | |
|         run: |
 | |
|           python -m pip install --upgrade pip wheel
 | |
|           python -m pip install --upgrade '.[dev]'
 | |
|           python -m pytest --verbose ./httpie ./tests
 | |
|         env:
 | |
|           HTTPIE_TEST_WITH_PYOPENSSL: ${{ matrix.pyopenssl }}
 | |
|       - name: Linux & Mac setup
 | |
|         if: matrix.os != 'windows-latest'
 | |
|         run: |
 | |
|           make install
 | |
|           make test
 | |
|         env:
 | |
|           HTTPIE_TEST_WITH_PYOPENSSL: ${{ matrix.pyopenssl }}
 |