Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/code_style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
matrix:

# Each option you define in the matrix has a key and value
python-version: [ 3.8 ]
python-version: [ 3.9 ]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Types check with myPy

on: [push, pull_request]

jobs:
mypy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]

steps:
- name: Set up Git repository
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 wheel setuptools
python -m pip install -r requirements.txt
python -m pip install mypy

- name: Run MyPy
run: |
mypy project/
17 changes: 17 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Run Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install pytest
run: pip install pytest
- name: Run tests using project script
run: |
python ./scripts/run_tests.py
11 changes: 11 additions & 0 deletions project/Task8/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Jupyter
.ipynb_checkpoints/
__pycache__/

# Python
*.pyc
*.pyo
*.pyd
.Python
env/
venv/
Loading