-
Notifications
You must be signed in to change notification settings - Fork 67
36 lines (34 loc) · 1.03 KB
/
makefile.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
name: Revup CI
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8.18, 3.10.10, 3.12.1]
name: Run lint and install checks
steps:
- name: Install pandoc
run: sudo apt-get install -y pandoc
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: python --version 2>&1| grep -q ${{ matrix.python-version }}
name: Check python version
- uses: actions/checkout@v3
name: Checkout the repo
- run: PYTHON=python make deps
name: Install python dependencies
- run: PYTHON=python make lint
name: Verify code linting
- run: PYTHON=python make package
name: Generate the distribution package
- run: PYTHON=python make upload_check
name: Check the README markdown
- run: PYTHON=python make test
name: Run unit tests