diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..5d3d0c7 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: Tests + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.11' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -e ".[dev]" + + - name: Run tests + run: pytest --cov=axomiscript tests/ diff --git a/README.md b/README.md index 6bbd6c6..34bcdb3 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ [![Tests](https://img.shields.io/badge/tests-24%20passing-brightgreen)](tests/) [![Python](https://img.shields.io/badge/python-3.8%2B-blue)](https://python.org) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) +[![CI](https://github.com/leonkaushikdeka/AxomiScript/actions/workflows/test.yml/badge.svg)](https://github.com/leonkaushikdeka/AxomiScript/actions) [![Community](https://img.shields.io/badge/add%20your%20language-open%20PR-orange)](docs/adding_a_language.md) --- diff --git a/pyproject.toml b/pyproject.toml index b171a9d..419e9fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ description = "Assamese (and multi-language) programming language — write, com readme = "README.md" license = { text = "MIT" } requires-python = ">=3.8" -keywords = ["assamese", "programming-language", "transpiler", "compiler", "ide", "education"] +keywords = ["assamese", "programming-language", "transpiler", "compiler", "ide", "education", "northeast-india", "indigenous", "localization"] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Education",