Merge pull request 'feat: Automatic CI' (#27) from typosaurus/26-automatic-ci into main
Some checks are pending
CI / test (push) Waiting to run
Some checks are pending
CI / test (push) Waiting to run
Reviewed-on: #27
This commit is contained in:
commit
2c484e71ab
21
.gitea/workflows/ci.yml
Normal file
21
.gitea/workflows/ci.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# retoor <retoor@molodetz.nl>
|
||||||
|
name: CI
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main, master]
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set up Python 3.12
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: "3.12"
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install -e .
|
||||||
|
- name: Run tests
|
||||||
|
run: make verify
|
||||||
|
|
||||||
@ -1,3 +1,4 @@
|
|||||||
|
# retoor <retoor@molodetz.nl>
|
||||||
# typosaurus-sandbox
|
# typosaurus-sandbox
|
||||||
|
|
||||||
A minimal Python calculator used to verify the Typosaurus agent system.
|
A minimal Python calculator used to verify the Typosaurus agent system.
|
||||||
@ -26,3 +27,11 @@ A minimal Python calculator used to verify the Typosaurus agent system.
|
|||||||
```
|
```
|
||||||
make verify
|
make verify
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## CI
|
||||||
|
|
||||||
|
- Workflow file: `.gitea/workflows/ci.yml`
|
||||||
|
- Trigger: push to `main` or `master` branches
|
||||||
|
- Steps: checkout, Python 3.12 setup, dependency install, `make verify`
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user