Skip to content

FIX Correct pyproject.toml project name #40

FIX Correct pyproject.toml project name

FIX Correct pyproject.toml project name #40

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
api-test:
runs-on: ubuntu-latest
steps:
- name: Checkout Mayat
uses: actions/checkout@v3
- name: Clone tree-sitter-c
uses: actions/checkout@v3
with:
repository: tree-sitter/tree-sitter-c.git
ref: master
path: src/mayat/langs/tree-sitter-c
- name: Clone tree-sitter-java
uses: actions/checkout@v3
with:
repository: tree-sitter/tree-sitter-java.git
ref: master
path: src/mayat/langs/tree-sitter-java
- name: Clone tree-sitter-python
uses: actions/checkout@v3
with:
repository: tree-sitter/tree-sitter-python.git
ref: master
path: src/mayat/langs/tree-sitter-python
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Install Mayat
run: |
pip install --editable .
python -m mayat.install_langs
- name: Run tests
run: |
cd tests
python test.py -v