File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change 6
6
release :
7
7
types : [created]
8
8
jobs :
9
- test :
10
- name : Test the code
11
- runs-on : ${{ matrix.os }}
12
- strategy :
13
- matrix :
14
- os : [windows-latest, ubuntu-latest]
15
- steps :
16
- - uses : actions/checkout@v2
17
- - name : Set up Python 3.7
18
- uses : actions/setup-python@v1
19
- with :
20
- python-version : 3.7
21
- - name : Get pip cache dir
22
- id : pip-cache
23
- run : |
24
- python -m pip install --upgrade pip setuptools
25
- echo "::set-output name=dir::$(pip cache dir)"
26
- - name : pip cache
27
- uses : actions/cache@v2
28
- with :
29
- path : ${{ steps.pip-cache.outputs.dir }}
30
- key : ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
31
- restore-keys : |
32
- ${{ runner.os }}-pip-
33
- - name : Install dependencies
34
- run : |
35
- pip install tensorflow==2.9.1
36
- pip install -e ".[tests]" --progress-bar off --upgrade
37
- - name : Test with pytest
38
- run : |
39
- pytest keras_cv/
40
9
format :
41
10
name : Check the code format
42
11
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments