forked from skonfig/skonfig
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (45 loc) · 1.07 KB
/
test-build-required.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: test-build-required
on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu
- macos
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
runs-on: ${{ matrix.os }}-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Set up Python
uses: actions/setup-python@v5
with:
allow-prereleases: true
python-version: ${{ matrix.python-version }}
- name: Install setuptools
run: |
pip install setuptools
- name: Information
run: |
python3 -V
python3 -W ignore -m pip --disable-pip-version-check list
bin/skonfig -V
- name: Build
run: |
python3 setup.py build
- name: Install
run: |
python3 setup.py install
- name: Clean
run: |
python3 setup.py clean --all