Skip to content

Commit 209289b

Browse files
committed
built ci pipeline
1 parent 77b60de commit 209289b

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/ci_pipeline.yaml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: ci pipeline
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- src/**
9+
- tests/**
10+
- .github/**
11+
- requirements.txt
12+
- requirements_dev.txt
13+
# paths-ignore:
14+
# - 'README.md'
15+
pull_request:
16+
branches:
17+
- main
18+
paths-ignore:
19+
- README.md
20+
21+
permissions:
22+
contents: read
23+
24+
jobs:
25+
build:
26+
runs-on: ${{ matrix.os }}
27+
strategy:
28+
matrix:
29+
os: [ubuntu-latest, windows-latest]
30+
python-version: ["3.9", "3.10"]
31+
32+
steps:
33+
- uses: actions/checkout@v3
34+
- name: Set up Python ${{ matrix.python-version }}
35+
uses: actions/setup-python@v3
36+
with:
37+
python-version: ${{ matrix.python-version }}
38+
- name: Install dependencies
39+
run: |
40+
python -m pip install --upgrade pip
41+
pip install flake8 pytest tox tox-gh-actions
42+
pip install -r requirements.txt
43+
- name: Test with tox
44+
run: tox

0 commit comments

Comments
 (0)