-
Notifications
You must be signed in to change notification settings - Fork 6
48 lines (41 loc) · 946 Bytes
/
ci.yaml
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
name: Test cellenics-utils
on:
push:
branches:
- master
release:
types:
- released
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test cellenics-utils
runs-on: ubuntu-20.04
steps:
- id: checkout
name: Check out source code
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: 'pip'
- id: black
name: Black code formatter
uses: psf/black@stable
- id: flake8
name: Use flake8 linting
uses: py-actions/flake8@v2
- uses: jamescurtin/isort-action@master
with:
configuration: "--profile=black"
# - id: test
# name: Run tests
# run: |-
# make install
# make test