Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
e2251638
Commit
e2251638
authored
Aug 13, 2020
by
Arun Babu Neelicattu
Committed by
finswimmer
Aug 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
actions: split qa and add explicit skipping
parent
bce954a8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
60 additions
and
16 deletions
+60
-16
.github/workflows/code-quality.yaml
+21
-0
.github/workflows/main.yml
+2
-16
.github/workflows/skip.yml
+37
-0
No files found.
.github/workflows/code-quality.yaml
0 → 100644
View file @
e2251638
name
:
Code Quality
on
:
pull_request
:
paths-ignore
:
-
'
docs/**'
-
'
.cirrus.yml'
push
:
branches
:
[
master
]
paths-ignore
:
-
'
docs/**'
-
'
.cirrus.yml'
jobs
:
pre-commit
:
name
:
Linting
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v1
-
uses
:
actions/setup-python@v1
-
uses
:
pre-commit/action@v2.0.0
.github/workflows/main.yml
View file @
e2251638
...
@@ -11,26 +11,12 @@ on:
...
@@ -11,26 +11,12 @@ on:
pull_request
:
pull_request
:
paths-ignore
:
paths-ignore
:
-
'
docs/**'
-
'
docs/**'
-
'
.cirrus.yml'
branches
:
branches
:
-
'
**'
-
'
**'
jobs
:
jobs
:
Linting
:
tests
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up Python 3.8
uses
:
actions/setup-python@v1
with
:
python-version
:
3.8
-
name
:
Linting
run
:
|
pip install pre-commit
pre-commit run --all-files
Tests
:
needs
:
Linting
name
:
${{ matrix.os }} / ${{ matrix.python-version }}
name
:
${{ matrix.os }} / ${{ matrix.python-version }}
runs-on
:
${{ matrix.os }}-latest
runs-on
:
${{ matrix.os }}-latest
strategy
:
strategy
:
...
...
.github/workflows/skip.yml
0 → 100644
View file @
e2251638
# workaround for https://github.com/actions/virtual-environments/issues/1281
name
:
Skip All Jobs
on
:
push
:
paths
:
-
'
!**'
-
'
docs/**'
-
'
.cirrus.yml'
branches
:
-
master
-
develop
pull_request
:
paths
:
-
'
!**'
-
'
docs/**'
-
'
.cirrus.yml'
branches
:
-
'
**'
jobs
:
pre-commit
:
name
:
Linting
runs-on
:
ubuntu-latest
steps
:
-
run
:
exit 0
tests
:
name
:
${{ matrix.os }} / ${{ matrix.python-version
# we do not need os specific runners here, using linux is quicker
runs-on
:
ubuntu-latest
strategy
:
matrix
:
os
:
[
Ubuntu
,
MacOS
,
Windows
]
python-version
:
[
2.7
,
3.5
,
3.6
,
3.7
,
3.8
]
steps
:
-
run
:
exit 0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment