-
Notifications
You must be signed in to change notification settings - Fork 14
39 lines (36 loc) · 1.05 KB
/
ci-test.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
name: CI Test
on: [push, pull_request]
jobs:
ci-test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
virtualenvs-in-project: false
version: 1.8.3
- name: Get dependencies
run: |
sudo apt-get update && sudo apt-get install -y --no-install-recommends \
yamllint
- name: Code Quality - yamllint
run: |
yamllint -s *yml
- name: Install poetry dependencies
run: |
poetry config virtualenvs.create false && \
poetry run pip install black
- name: Code Quality - Black
run: |
poetry run black gamutrf --check
poetry run black gamutrflib --check
poetry run black gamutrfwaterfall --check
poetry run black utils --check