We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebb5177 commit 2ce7bb6Copy full SHA for 2ce7bb6
1 file changed
.github/workflows/pythonpackage.yml
@@ -1,10 +1,14 @@
1
name: Python package
2
3
-on: [push, pull_request]
+on:
4
+ workflow_dispatch:
5
+ pull_request:
6
+ push:
7
+ branches:
8
+ - main
9
10
jobs:
11
build:
-
12
runs-on: ubuntu-latest
13
strategy:
14
max-parallel: 1
@@ -13,16 +17,20 @@ jobs:
17
18
steps:
15
19
- uses: actions/checkout@v4
20
+
16
21
- name: Set up Python ${{ matrix.python-version }}
22
uses: actions/setup-python@v5
23
with:
24
python-version: ${{ matrix.python-version }}
25
26
- name: Install dependencies
27
run: |
28
python -m pip install --upgrade pip
29
pip install -r requirements.txt
30
pip install -r dev-requirements.txt
31
32
- name: Launch tests
33
run: python setup.py test
34
35
- name: Launch Linting
36
run: flake8 --show-source --statistics
0 commit comments