Skip to content

Commit ec17274

Browse files
author
Maxim
committed
feat: github actions
1 parent 7a2474c commit ec17274

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ["3.3", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
15+
steps:
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v3
20+
with:
21+
python-version: "${{ matrix.python-version }}"
22+
- name: Install pytest
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install pytest
26+
- name: Run pytest
27+
run: |
28+
pytest

0 commit comments

Comments
 (0)