Skip to content

Commit 008e70f

Browse files
committed
🧪 TESTS: Improve CI tests
1 parent 5938692 commit 008e70f

File tree

2 files changed

+10
-23
lines changed

2 files changed

+10
-23
lines changed

.github/workflows/artifacts.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: Python package
4+
name: continuous0integration
55

6-
on: [push, pull_request]
6+
on:
7+
push:
8+
branches: [master]
9+
tags:
10+
- 'v*'
11+
pull_request:
712

813
jobs:
914

@@ -13,17 +18,11 @@ jobs:
1318

1419
steps:
1520
- uses: actions/checkout@v2
16-
- name: Set up Python 3.7
21+
- name: Set up Python 3.8
1722
uses: actions/setup-python@v1
1823
with:
19-
python-version: 3.7
20-
- name: Install dependencies
21-
run: |
22-
python -m pip install --upgrade pip
23-
pip install -e .[code_style]
24-
- name: Run pre-commit
25-
run: |
26-
pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )
24+
python-version: 3.8
25+
- uses: pre-commit/[email protected]
2726

2827
tests:
2928

0 commit comments

Comments
 (0)