Skip to content

Commit 694337b

Browse files
committed
fix: attempt to make GitHub Actions work #1
1 parent 02c3f5d commit 694337b

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

.github/workflows/pythonpackage.yml

+22-23
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,36 @@
1-
name: Python package
1+
name: Powertools Python
22

33
on:
44
pull_request:
5-
paths:
6-
- 'python/**'
5+
paths:
6+
- "./python/**"
77
push:
88
paths:
9-
- 'python/**'
9+
- "./python/**"
1010

1111
jobs:
1212
build:
13-
1413
runs-on: ubuntu-latest
1514
strategy:
1615
max-parallel: 4
1716
matrix:
1817
python-version: [3.6, 3.7]
1918
steps:
20-
- uses: actions/checkout@v1
21-
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v1
23-
with:
24-
python-version: ${{ matrix.python-version }}
25-
- name: Install dependencies
26-
run: |
27-
python -m pip install --upgrade pip
28-
make dev
29-
working-directory: ./python/
30-
- name: Formatting and Linting
31-
run: |
32-
make lint
33-
working-directory: ./python/
34-
- name: Test with pytest
35-
run: |
36-
make test
37-
working-directory: ./python/
19+
- uses: actions/checkout@v1
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v1
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
make dev
28+
working-directory: ./python/
29+
- name: Formatting and Linting
30+
run: |
31+
make lint
32+
working-directory: ./python/
33+
- name: Test with pytest
34+
run: |
35+
make test
36+
working-directory: ./python/

0 commit comments

Comments
 (0)