Skip to content

Commit 761eb8f

Browse files
committed
Using external CI scripts
1 parent 6c97e9d commit 761eb8f

3 files changed

Lines changed: 6 additions & 22 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
uses: actions/setup-python@v2
1818
with:
1919
python-version: 3.9
20+
cache: 'pip'
2021
- name: Install dependencies
2122
run: |
2223
python -m pip install --upgrade pip

.github/workflows/deploy_docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
uses: actions/setup-python@v2
2323
with:
2424
python-version: 3.9
25+
cache: 'pip'
2526
- name: Install dependencies
2627
run: |
2728
python -m pip install --upgrade pip

.github/workflows/testing.yml

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,8 @@
1-
name: Testing and validation
1+
name: Tests and docs
22

33
on: [push, pull_request]
44

55
jobs:
6-
test:
7-
8-
runs-on: ubuntu-latest
9-
strategy:
10-
matrix:
11-
python-version: [3.6, 3.7, 3.8, 3.9]
12-
13-
steps:
14-
- name: Check-out
15-
uses: actions/checkout@v2
16-
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v2
18-
with:
19-
python-version: ${{ matrix.python-version }}
20-
- name: Install dependencies
21-
run: |
22-
python -m pip install --upgrade pip
23-
pip install flake8 pytest
24-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
25-
- name: Run all tests
26-
run: python setup.py test -p py${{ matrix.python-version }}
6+
tests:
7+
name: Tests
8+
uses: Bernardo-MG/github-workflow/.github/workflows/python_testing.yml@develop

0 commit comments

Comments
 (0)