summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Falcão <gabriel@nacaolivre.org>2020-03-23 04:44:31 +0100
committerGabriel Falcão <gabriel@nacaolivre.org>2020-03-23 04:44:31 +0100
commitba8f675b2c38d215bfda2befdbdc225e434fe782 (patch)
tree29982d819bf1d559134247fceb7530bdeb4f374d
parent4381faef33273377ea3c85bad18e1157b9bc5d54 (diff)
downloadhttpretty-ba8f675b2c38d215bfda2befdbdc225e434fe782.tar.gz
use a single workflow
-rw-r--r--.github/workflows/pyenv.yml5
-rw-r--r--.github/workflows/python-3.6.yml51
-rw-r--r--.github/workflows/python-3.7.yml51
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