Changing the brightness level to minimum when the Test starts #14
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: tests | |
on: [push] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.11"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Pytest python | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest humanfriendly numpy pandas seaborn protobuf argparse_formatter | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
pytest scripts/tests/unit |