mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-21 22:33:58 +08:00
action test
This commit is contained in:
parent
ad991c6560
commit
0e90d78efc
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -8,17 +8,8 @@ on:
|
||||
- cron: '0 12 * * *'
|
||||
|
||||
jobs:
|
||||
|
||||
ci_unix:
|
||||
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
|
||||
tools/snippets install_pip_reqs
|
||||
- name: Run checks and tests
|
||||
run: echo make -j2 check test
|
||||
ci_unix2:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
@ -30,6 +21,7 @@ jobs:
|
||||
run: tools/snippets install_pip_reqs
|
||||
- name: Run checks and tests
|
||||
run: make -j2 check test
|
||||
|
||||
ci_windows:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
@ -42,6 +34,6 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pytest
|
||||
- name: Display Python version
|
||||
run: make
|
||||
- name: Run tests
|
||||
run: python tools/snippets pytest -v tests
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user