mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-21 14:23:37 +08:00
22 lines
572 B
YAML
22 lines
572 B
YAML
name: CI
|
|
|
|
on:
|
|
# Run on pushes and also once per day (in case deps change under us)
|
|
push:
|
|
schedule:
|
|
# Note: '*' is a special character in YAML so we have to quote the str.
|
|
- cron: '0 12 * * *'
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get -y install python3.7 python3.7-dev python3-pip python3-setuptools
|
|
python3.7 -m pip install `tools/snippets pip_req_list`
|
|
- name: Run checks and tests
|
|
run: make -j2 check test
|
|
|