Skip to content

codeforces open/reg, fix contest list, move adaptor code to new folder #12

codeforces open/reg, fix contest list, move adaptor code to new folder

codeforces open/reg, fix contest list, move adaptor code to new folder #12

Workflow file for this run

name: "Unit test"
on:
push:
branches:
- master
- He
- dev
jobs:
unit_test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/[email protected]
with:
# Version range or exact version of Python or PyPy to use, using SemVer's version range syntax. Reads from .python-version if unset.
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
pip install -r requirements.txt
pip install .
pip install .[test]
- name: type test
run: |
mypy --ignore-missing-imports oi_cli2/cli/main.py
- name: unit test
run: |
pytest tests