generated from microsoft/python-package-template
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 782 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
name: Python CI
on:
push:
branches: [main]
pull_request:
branches: [main]
release:
types: [created]
workflow_dispatch:
jobs:
validation:
strategy:
fail-fast: false
matrix:
python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
uses: YaoYinYing/action-python/.github/workflows/validation.yml@v7.3.1-post-6
with:
workdir: "."
python-version: ${{ matrix.python }}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
publish:
strategy:
fail-fast: false
uses: microsoft/action-python/.github/workflows/publish.yml@0.7.3
secrets:
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TEST_PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}