forked from airbnb/knowledge-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 1.07 KB
/
main.yml
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
name: main
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
Build:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
os: ["ubuntu-18.04", "macos-latest"]
python-version: ['3.6', '3.7', '3.8', '3.9']
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up Python Test Env and Python
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: test
python-version: '${{ matrix.python-version }}'
- name: CI Tests
shell: bash -l {0}
run: |
conda update --all --yes
conda config --set always_yes yes --set changeps1 no
conda info -a
conda install -c conda-forge r-xfun=0.27 r-rlang=1.0.5 r-extrafont
conda install -c conda-forge r-base=4.1.1 r-rmarkdown=2.13 r-ggplot2=3.3.5 r-plotly=4.10.0 pandoc=2.17.1.1
conda install -c conda-forge regex
pip install pycodestyle
pip install .[all]
bash run_tests.sh