Skip to content

lab1

lab1 #4

Workflow file for this run

name: CS102 Workflow
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10.8
uses: actions/setup-python@v2
with:
python-version: '3.10.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black mypy pylint pygame pytelegrambotapi pandas boddle bottle
- name: Install project dependencies
run: |
if [ -f ${{ github.head_ref }}/requirements.txt ];
then
pip install -r ${{ github.head_ref }}/requirements.txt
fi
- name: Run unittests
run: |
python3 -m unittest tests/lab1/test_calculator.py