diff options
author | Gabriel Falcão <gabriel@nacaolivre.org> | 2020-03-23 04:44:31 +0100 |
---|---|---|
committer | Gabriel Falcão <gabriel@nacaolivre.org> | 2020-03-23 04:44:31 +0100 |
commit | ba8f675b2c38d215bfda2befdbdc225e434fe782 (patch) | |
tree | 29982d819bf1d559134247fceb7530bdeb4f374d | |
parent | 4381faef33273377ea3c85bad18e1157b9bc5d54 (diff) | |
download | httpretty-ba8f675b2c38d215bfda2befdbdc225e434fe782.tar.gz |
use a single workflow
-rw-r--r-- | .github/workflows/pyenv.yml | 5 | ||||
-rw-r--r-- | .github/workflows/python-3.6.yml | 51 | ||||
-rw-r--r-- | .github/workflows/python-3.7.yml | 51 |
3 files changed, 3 insertions, 104 deletions
diff --git a/.github/workflows/pyenv.yml b/.github/workflows/pyenv.yml index 57e1542..9d55719 100644 --- a/.github/workflows/pyenv.yml +++ b/.github/workflows/pyenv.yml @@ -1,4 +1,4 @@ -name: Pyenv Build +name: python version support on: push: @@ -7,7 +7,8 @@ on: branches: [ master ] jobs: - build: + python: + name: "Continuous Integration" runs-on: ubuntu-latest strategy: matrix: diff --git a/.github/workflows/python-3.6.yml b/.github/workflows/python-3.6.yml deleted file mode 100644 index fe93701..0000000 --- a/.github/workflows/python-3.6.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: python-3.6 - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.6 - uses: actions/setup-python@v1 - with: - python-version: 3.6 - - - name: Cache VirtualEnv - id: cache-venv - uses: actions/cache@v1 - with: - path: .venv - key: ${{ runner.os }}-${{ hashFiles('*.txt') }}-python3.6 - - - uses: actions/checkout@v1 - name: "Checkout Code" - - - id: bento - name: Bento - uses: returntocorp/bento-action@v1 - with: - acceptTermsWithEmail: gabriel@nacaolivre.org - - - name: Python Version - run: python3 --version - - - name: Unit Tests - run: make unit - - - name: PyOpenSSL tests - run: make pyopenssl - - - name: Functional Tests - run: make functional - - - name: "Upload coverage results to codecov.io" - uses: codecov/codecov-action@v1 - with: - file: ./coverage.xml # optional diff --git a/.github/workflows/python-3.7.yml b/.github/workflows/python-3.7.yml deleted file mode 100644 index af3e340..0000000 --- a/.github/workflows/python-3.7.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: python-3.7 - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.7 - uses: actions/setup-python@v1 - with: - python-version: 3.7 - - - name: Cache VirtualEnv - id: cache-venv - uses: actions/cache@v1 - with: - path: .venv - key: ${{ runner.os }}-${{ hashFiles('*.txt') }}-python3.7 - - - uses: actions/checkout@v1 - name: "Checkout Code" - - - id: bento - name: Bento - uses: returntocorp/bento-action@v1 - with: - acceptTermsWithEmail: gabriel@nacaolivre.org - - - name: Python Version - run: python3 --version - - - name: Unit Tests - run: make unit - - - name: PyOpenSSL tests - run: make pyopenssl - - - name: Functional Tests - run: make functional - - - name: "Upload coverage results to codecov.io" - uses: codecov/codecov-action@v1 - with: - file: ./coverage.xml # optional |