mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-06 15:47:06 +08:00
added tests to ci
This commit is contained in:
parent
f614054a94
commit
4f92b53c7c
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -4,20 +4,18 @@ on:
|
|||||||
# Run on pushes and also once per day (in case deps change under us)
|
# Run on pushes and also once per day (in case deps change under us)
|
||||||
push:
|
push:
|
||||||
schedule:
|
schedule:
|
||||||
# Note: * is a special character in YAML so we have to quote the str.
|
# Note: '*' is a special character in YAML so we have to quote the str.
|
||||||
- cron: '0 4 * * *'
|
- cron: '0 4 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
|
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Set up tools
|
- name: Set up tools
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get -y install python3.7 python3.7-dev python3-pip python3-setuptools
|
sudo apt-get -y install python3.7 python3.7-dev python3-pip python3-setuptools
|
||||||
python3.7 -m pip install `tools/snippets pip_req_list`
|
python3.7 -m pip install `tools/snippets pip_req_list`
|
||||||
- name: Run checks
|
- name: Run checks and tests
|
||||||
run: make checkfull
|
run: make -j2 checkfull test
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user