Update README.md #31
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: Unit tests for Basic Class | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
pull_request: | |
branches: | |
- develop | |
- main | |
defaults: | |
run: | |
shell: bash | |
working-directory: . | |
jobs: | |
test: | |
name: 'Run unit tests' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | |
id: python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.DEFAULT_PYTHON }} | |
- name: Upgrade pip | |
run: python -m pip install --upgrade pip setuptools wheel | |
- name: Upgrade pyOpenSSl | |
run: pip install pyOpenSSL --upgrade | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: List directory contents | |
run: ls -la | |
- name: Run tests | |
run: python -m pytest ./tests | |