-
Notifications
You must be signed in to change notification settings - Fork 11
48 lines (39 loc) · 1.11 KB
/
tools_installation.yaml
File metadata and controls
48 lines (39 loc) · 1.11 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
39
40
41
42
43
44
45
46
47
48
name: CI - FSOCO tools installation
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
install:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04, ubuntu-22.04 ]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: '3.8'
- name: Install PIP dependencies
working-directory: ./tools
run: |
pip install --upgrade pip wheel
pip install setuptools==60.8.2
pip install --editable .
- name: Install Supervisely SDK
working-directory: ./tools
run: pip install --editable .[sly]
- name: Test execution (user)
run: fsoco --help
- name: Install development dependencies
working-directory: ./tools
run: |
pip install -r requirements.txt
pre-commit install
- name: Test execution (developer)
run: fsoco --help