Skip to content

Commit d2bfbf6

Browse files
CI: install task
1 parent a42a6b4 commit d2bfbf6

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ jobs:
1818
with:
1919
python-version: ${{ matrix.python-version }}
2020
check-latest: true
21+
- name: Install task to make use of Taskfile.yml
22+
run: |
23+
sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
24+
task --version
2125
- name: Install dependencies
2226
run: |
23-
task dependencies
27+
task dependencies-with-pip
2428
pip install -U coveralls
2529
- name: Run tests with pytest
2630
run: |

Taskfile.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ tasks:
1010
- poetry lock
1111
- poetry install --extras dev
1212
silent: true
13+
dependencies-with-pip:
14+
desc: Installs all dependencies using pip only
15+
cmds:
16+
- pip install --upgrade pip
17+
- pip install .[dev]
18+
silent: true
1319
tests:
1420
desc: Runs the tests
1521
cmds:

0 commit comments

Comments
 (0)