Start using a Gitea action for continuous testing
Some checks failed
Continuous integration / run (push) Failing after 1m10s
Some checks failed
Continuous integration / run (push) Failing after 1m10s
This commit is contained in:
parent
207178f822
commit
80c6f9ed94
24
.gitea/workflows/ci.yaml
Normal file
24
.gitea/workflows/ci.yaml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: Continuous integration
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: https://github.com/actions/checkout@v4
|
||||||
|
- name: Set up Python
|
||||||
|
uses: https://github.com/actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: 3.12
|
||||||
|
- name: Install ourself
|
||||||
|
run: pip install -e .
|
||||||
|
- name: Run static analysis
|
||||||
|
run: hatch run lint-check
|
||||||
|
- name: Check types
|
||||||
|
run: hatch run types-check
|
||||||
|
- name: Run tests
|
||||||
|
run: hatch run test
|
Loading…
Reference in New Issue
Block a user