Skip to content

Add .venv directory to .gitignore #38

Add .venv directory to .gitignore

Add .venv directory to .gitignore #38

Workflow file for this run

# SPDX-FileCopyrightText: 2021 Daniel Laidig <laidig@control.tu-berlin.de>
#
# SPDX-License-Identifier: MIT
name: Tests
on: [push, pull_request]
jobs:
tests:
name: Run tests
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
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 package
run: pip install ".[dev]"
- name: Run reuse lint
run: reuse lint
if: matrix.python-version == '3.10'
- name: Run flake8
run: flake8
if: matrix.python-version == '3.10'
- name: Run pytest
run: pytest --nomatlab