mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-01 20:33:46 +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 * * *'
|
- cron: '0 12 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
ci_unix:
|
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
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
@ -30,6 +21,7 @@ jobs:
|
|||||||
run: tools/snippets install_pip_reqs
|
run: tools/snippets install_pip_reqs
|
||||||
- name: Run checks and tests
|
- name: Run checks and tests
|
||||||
run: make -j2 check test
|
run: make -j2 check test
|
||||||
|
|
||||||
ci_windows:
|
ci_windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
@ -42,6 +34,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pytest
|
pip install pytest
|
||||||
- name: Display Python version
|
- name: Run tests
|
||||||
run: make
|
run: python tools/snippets pytest -v tests
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user