зеркало из https://github.com/microsoft/ptgnn.git
Родитель
6e3a0b2442
Коммит
a4ae3c5cf2
|
@ -0,0 +1,33 @@
|
|||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: Run Tests
|
||||
|
||||
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||
# events but only for the master branch
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
max-parallel: 2
|
||||
matrix:
|
||||
python-version: [3.6, 3.7, 3.8]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip pytest
|
||||
pip install -e .
|
||||
- name: Test with pytest
|
||||
run: pytest .
|
||||
|
Загрузка…
Ссылка в новой задаче