SWPROD-4926: remove unused packages and update remaining #2
Workflow file for this run
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: Run lint and tests | |
on: | |
pull_request: | |
branches: | |
- py3 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- run: | | |
python -m pip install --upgrade pip | |
pip install -r ecrterm/requirements.txt | |
- run: flake8 ecrterm/ | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- run: | | |
python -m pip install --upgrade pip | |
pip install -r ecrterm/requirements.txt | |
- run: python -m unittest discover -s ecrterm/tests/ |