Update run_tests.yml #129
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Module Setup | |
on: | |
push: | |
branches: [ release ] | |
pull_request: | |
branches: [ release ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install pip | |
run: | | |
python -m pip install --upgrade pip setuptools | |
- name: Test SSLyze module setup | |
run: | | |
python setup.py install | |
cd docs # Switch folder to avoid conflicts between ./sslyze and the installed sslyze module | |
python ../api_sample.py |