-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 775 Bytes
/
main.yml
File metadata and controls
37 lines (30 loc) · 775 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
name: ci
on:
push:
branches:
- master
pull_request:
branches_ignore: []
jobs:
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup black linter
run: conda create --quiet --name black black
- name: Lint python code
run: |
export PATH="/usr/share/miniconda/bin:$PATH"
source activate black
black --check codeart
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup conda environment
run: conda create --quiet --name codeart
- name: Install codeart
run: |
export PATH="/usr/share/miniconda/bin:$PATH"
source activate codeart
python setup.py install