-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 867 Bytes
/
Copy pathTest.Demo.yml
File metadata and controls
32 lines (32 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Test.Demo
on:
push:
paths:
- 'src/**'
- 'example/**'
- '.github/workflows/Test.Demo.yml'
jobs:
main:
if: ${{ !endsWith(github.event.head_commit.message, ';') }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Download datasets
run: curl -OL https://github.com/liurui39660/Isconna/raw/master/data/data.zip
- name: Extract datasets
run: 7z x data.zip -odata
- name: Run
run: python example/Demo.py
env:
PYTHONPATH: src