Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
791773b2d1 |
@@ -0,0 +1,19 @@
|
||||
name: ci
|
||||
on: [push]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: host
|
||||
steps:
|
||||
- name: install python
|
||||
run: apk add --no-cache python3 py3-pip ca-certificates git 2>&1 | tail -3; python3 --version; git --version
|
||||
- name: clone repo
|
||||
run: |
|
||||
rm -rf src
|
||||
git clone https://gitea.tose.top/admin/codex-app-server.git src
|
||||
cd src && git rev-parse HEAD
|
||||
- name: host tests
|
||||
run: cd src && python3 -m unittest discover -s tests -v
|
||||
- name: cloud tests
|
||||
run: cd src && python3 -m unittest discover -s cloud/tests -v
|
||||
- name: deploy tests
|
||||
run: cd src && python3 -m unittest discover -s deploy/tests -v
|
||||
Reference in new issue
Block a user