-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (43 loc) · 1.65 KB
/
Copy pathtest-workflow.yml
File metadata and controls
53 lines (43 loc) · 1.65 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
49
50
51
52
53
name: Checkout multiple repositories
on:
push:
jobs:
build:
name: Checkout multiple repositories
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.6, 3.7, 3.8 ]
steps:
- name: Checkout this repository
uses: actions/checkout@v2
with:
path: ${{ github.workspace }}/github-actions-example
submodules: true
- name: Checkout mongodb-statedb
uses: actions/checkout@v2
with:
repository: audrow/mongodb-statedb
path: ${{ github.workspace }}/mongodb-statedb
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Setup the project and install dependencies
run: |
python -m pip install --upgrade pip==20.3.3
pip install .
working-directory: ${{ github.workspace }}/mongodb-statedb
- name: Setup the project and install dependencies
run: |
python -m pip install --upgrade pip==20.3.3
pip install .
working-directory: ${{ github.workspace }}/github-actions-example/src/ros_vision_interaction/src/interaction-engine
- name: Setup the project and install dependencies
run: |
python -m pip install --upgrade pip==20.3.3
pip install .
working-directory: ${{ github.workspace }}/github-actions-example/src/ros_vision_interaction/src/vision-interaction
- name: Run tests
run: pytest
working-directory: ${{ github.workspace }}/github-actions-example/src/ros_vision_interaction/src/vision-interaction