aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml14
1 files changed, 6 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 24bb898..c03a457 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,7 +3,11 @@
name: Taskipy Test CI
-on: [push, pull_request]
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
jobs:
build:
@@ -29,13 +33,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install poetry
- - name: Install Dependencies (Python 3.6)
- if: ${{ matrix.python-version == 3.6 }}
- run: |
- poetry run pip install -r .github/requirements-py36-ci.txt
- python .github/setup-py36-ci.py install
- - name: Install Dependencies (Python 3.7+)
- if: ${{ matrix.python-version != 3.6 }}
+ - name: Install dependencies
run: poetry install
- name: Test
run: poetry run task test