Skip to content

remove upper definition #38

remove upper definition

remove upper definition #38

Workflow file for this run

name: API workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Test python API
steps:
# - uses: actions/checkout@v4
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install requirements
run: pip install -r api/requirements.txt
- name: Run tests and collect coverage
run: pytest --cov=api.calculator --cov-report=xml
# - name: Upload coverage reports to Codecov with GitHub Action
# uses: codecov/codecov-action@v4
- name: Install Tree-sitter dependencies
run: sudo apt-get install libtree-sitter-dev
- name: Checkout codecov-cli test branch
uses: actions/checkout@v4
with:
repository: codecov/codecov-cli
ref: main
- name: Run Codecov with test branch of CLI
run: |
pip install .
codecovcli -v upload-process