diff options
author | Gabriel Falcão <gabriel@nacaolivre.org> | 2020-03-23 03:53:19 +0100 |
---|---|---|
committer | Gabriel Falcão <gabriel@nacaolivre.org> | 2020-03-23 03:53:19 +0100 |
commit | b2993fd3911d454dfbf7c3b3ba45c7b3dd601174 (patch) | |
tree | bdd82acf90c5435689d592174db963a67e633ed0 | |
parent | aafd6ba2954a7b158319131b711fa6dc74b38c33 (diff) | |
download | httpretty-b2993fd3911d454dfbf7c3b3ba45c7b3dd601174.tar.gz |
add github workflow to use pyenv
-rw-r--r-- | .github/workflows/pyenv.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/.github/workflows/pyenv.yml b/.github/workflows/pyenv.yml new file mode 100644 index 0000000..61535eb --- /dev/null +++ b/.github/workflows/pyenv.yml @@ -0,0 +1,43 @@ +name: Pyenv Build + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Pyenv with python 3.6.5 and 3.7.3 + uses: gabrielfalcao/pyenv-action@v3 + with: + default: 3.6.5,3.7.3 + + + - name: Set python version to 3.6.5 + run: pyenv local 3.6.5 + + - name: Unit Tests (python 3.6.5) + run: make unit + + - name: PyOpenSSL tests (python 3.6.5) + run: make pyopenssl + + - name: Functional Tests (python 3.6.5) + run: make functional + + - name: Set python version to 3.7.3 + run: pyenv local 3.7.3 + + - name: Unit Tests (python 3.7.3) + run: make unit + + - name: PyOpenSSL tests (python 3.7.3) + run: make pyopenssl + + - name: Functional Tests (python 3.7.3) + run: make functional |