-
-
Notifications
You must be signed in to change notification settings - Fork 350
45 lines (37 loc) · 833 Bytes
/
ci.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
41
42
43
44
45
name: ci
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.8"]
steps:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
- name: Install Make
run: choco install make
if: matrix.os == 'windows-latest'
- name: Install main
run: |
pip install .[test]
- name: Lint
run: |
make lint
if: matrix.os != 'windows-latest'
- name: Test
run: |
make test
- name: Install from dist
shell: bash
run: |
make build
pip install dist/gdown-*.tar.gz
pip install dist/gdown-*.whl