36 lines
714 B
YAML
36 lines
714 B
YAML
name: CI
|
|
|
|
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 packages
|
|
run: |
|
|
pip install -e "packages/foreignthon[dev]"
|
|
pip install -e packages/langs/es
|
|
pip install -e packages/langs/ta
|
|
|
|
continue-on-error: true
|
|
|
|
- name: Run tests
|
|
run: pytest packages/foreignthon/tests/ -v
|
|
continue-on-error: true
|
|
|
|
- name: Lint
|
|
run: ruff check packages/foreignthon/src
|
|
continue-on-error: true
|