-
Notifications
You must be signed in to change notification settings - Fork 2.5k
44 lines (38 loc) · 1.13 KB
/
release_tests.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
name: Release tool CI
on:
push:
paths:
- .github/workflows/release.yml
- release.py
- release_tests.py
pull_request:
paths:
- .github/workflows/release.yml
- release.py
- release_tests.py
jobs:
build:
name: Running python ${{ matrix.python-version }} on ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.12"]
os: [macOS-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Print Python Version
run: python --version --version && which python
- name: Update pip, setuptools + wheels
run: |
python -m pip install --upgrade pip setuptools wheel
- name: Run Unitests via coverage + print report
run: |
# python -m pip install coverage
# coverage run release_tests.py
# coverage report -m
python3 release_tests.py