forked from autorope/donkeycar
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 921 Bytes
/
Copy pathpython-package-conda.yml
File metadata and controls
39 lines (37 loc) · 921 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
39
name: Python package and test
on:
push:
pull_request:
jobs:
checkout-test:
name: Checkout and test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["macos-latest", "ubuntu-latest"]
fail-fast: false
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Create python 3.11 conda env
uses: conda-incubator/setup-miniconda@v3
with:
python-version: 3.11
mamba-version: "*"
activate-environment: donkey
auto-activate-base: false
channels: default, conda-forge, pytorch
channel-priority: true
- name: Conda info and list
run: |
conda info
conda list
- name: Install donkey
run: |
pip install -e .[pc,dev]
pip list
- name: Run tests
run: pytest