-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.22 KB
/
python.yml
File metadata and controls
38 lines (36 loc) · 1.22 KB
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
33
34
35
36
37
38
name: Python (train)
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ci:
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
poetry-version: [1.1.6]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install Dependencies
run: poetry install
- name: Run example (addition)
run: poetry run python examples/addition/addition.py
- name: Run example (mnist)
run: poetry run python examples/mnist/mnist.py
- name: Run example (regression_savedmodel)
run: poetry run python examples/regression_savedmodel/regression_savedmodel.py
- name: Run example (regression_checkpoint)
run: poetry run python examples/regression_checkpoint/regression_checkpoint.py
- name: Run example (mnist_savedmodel)
run: poetry run python examples/mnist_savedmodel/mnist_savedmodel.py
- name: Run example (zenn)
run: poetry run python examples/zenn/zenn.py