|
|
@@ -6,7 +6,7 @@ jobs: |
|
|
|
test-packages: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v1 |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: test packages |
|
|
|
run: | |
|
|
|
yarn install |
|
|
@@ -15,7 +15,7 @@ jobs: |
|
|
|
test-mobile: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v1 |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: test mobile |
|
|
|
run: | |
|
|
|
cd mobile |
|
|
@@ -27,25 +27,21 @@ jobs: |
|
|
|
strategy: |
|
|
|
max-parallel: 3 |
|
|
|
matrix: |
|
|
|
python-version: [3.5, 3.6, 3.7] |
|
|
|
python-version: [3.6, 3.7, 3.8] |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v1 |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: actions/setup-python@v1 |
|
|
|
with: |
|
|
|
python-version: ${{ matrix.python-version }} |
|
|
|
- name: test cli |
|
|
|
run: | |
|
|
|
cd cli |
|
|
|
python -m pip install --upgrade pip |
|
|
|
python -m pip install -r requirements.txt |
|
|
|
python -m pip install -r test-requirements.txt |
|
|
|
export PYTHONPATH='.' |
|
|
|
python -m unittest discover |
|
|
|
./test |
|
|
|
|
|
|
|
test-backend: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v1 |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: actions/setup-python@v1 |
|
|
|
with: |
|
|
|
python-version: "3.6" |
|
|
|