commit
9ab59ac6fe
|
@ -0,0 +1,20 @@
|
|||
name: Pytest CI
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: '3.10'
|
||||
- name: Pytest CI
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
cd huaweicloud-sdk-core || exit 1
|
||||
pip install -r test-requirements.txt
|
||||
${{ vars.CI_CMD }}
|
|
@ -1,3 +1,4 @@
|
|||
-r requirements.txt
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
|
|
Loading…
Reference in New Issue