forked from autorope/donkeycar
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 906 Bytes
/
Copy pathpython-package-conda.yml
File metadata and controls
38 lines (36 loc) · 906 Bytes
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 package and test
on:
push:
paths-ignore:
- 'docs/**'
pull_request:
jobs:
checkout-test:
name: set up python 3.7
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: macos-latest
ENV_FILE: install/envs/mac.yml
- os: ubuntu-latest
ENV_FILE: install/envs/ubuntu.yml
fail-fast: false
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.7
activate-environment: donkey
environment-file: ${{matrix.ENV_FILE}}
auto-activate-base: false
channels: conda-forge, pytorch
- run: |
conda info
conda list
echo Environment file ${{matrix.ENV_FILE}}
pip install -e .[pc]
pytest