--- name: Run Unit-tests on: push jobs: run_unit_test: runs-on: ubuntu-22.04 strategy: matrix: python-version: ["3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi - name: Lint with pylinit continue-on-error: true run: | make pylint - name: Run unit tests if: success() || failure() run: | make unittest make coverage_report