Skip to content

Lab2

Lab2 #14

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 pytest
- 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: |
python -m pytest