Skip to content

Commit db3f7e0

Browse files
committed
TMP fix CI/CD
1 parent 39fbc62 commit db3f7e0

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
strategy:
1717
# You can use PyPy versions in python-version. For example, pypy2 and pypy3
1818
matrix:
19-
python-version: [3.7, 3.8, 3.9]
19+
python-version: ["3.10", "3.11"]
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v4
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727
# You can test your matrix by printing the current Python version

.github/workflows/testing.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: Run Tests
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
68

79
jobs:
810
build:
@@ -12,7 +14,7 @@ jobs:
1214
fail-fast: false
1315
matrix:
1416
os: [ubuntu-latest, macos-11, windows-latest]
15-
python-version: ["3.7", "3.8", "3.9", "3.10"] #3.9 only failing for tables on macos and windows; mwm 6302021
17+
python-version: ["3.10", "3.11"]
1618
include:
1719
- os: ubuntu-latest
1820
path: ~/.cache/pip
@@ -23,10 +25,10 @@ jobs:
2325

2426
steps:
2527
- name: Checkout code
26-
uses: actions/checkout@v2
28+
uses: actions/checkout@v4
2729

2830
- name: Set up Python ${{ matrix.python-version }}
29-
uses: actions/setup-python@v3
31+
uses: actions/setup-python@v4
3032
with:
3133
python-version: ${{ matrix.python-version }}
3234
- name: Install ffmpeg
@@ -43,5 +45,5 @@ jobs:
4345
- name: Install and test
4446
run: |
4547
python -m pip install --upgrade pip wheel poetry
46-
python -m poetry install
48+
python -m poetry install --extras "tf"
4749
python -m poetry run dlc-live-test --nodisplay

dlclive/dlclive.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ def __init__(
190190
self.is_initialized = False
191191

192192
self.model_type = model_type
193+
self.precision = precision
193194
self.cropping = cropping
194195
self.dynamic = dynamic
195196
self.dynamic_cropping = None

0 commit comments

Comments
 (0)