Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.buildout
Commits
70fc78ba
Commit
70fc78ba
authored
Nov 06, 2022
by
Godefroid Chapelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GHA: run matrix only if Ubuntu 3.8 has completed
parent
ddc367b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
5 deletions
+51
-5
.github/workflows/python-runners.yml
.github/workflows/python-runners.yml
+6
-5
.github/workflows/ubuntu-default.yml
.github/workflows/ubuntu-default.yml
+45
-0
No files found.
.github/workflows/python-runners.yml
View file @
70fc78ba
name
:
Ubuntu, MacOS, Windows machines
name
:
Ubuntu, MacOS, Windows machines
on
:
on
:
push
:
workflow_run
:
paths-ignore
:
workflows
:
-
'
.circleci/**'
-
"
Ubuntu
3.8"
pull_request
:
types
:
-
completed
# Allow to run this workflow manually from the Actions tab
# Allow to run this workflow manually from the Actions tab
workflow_dispatch
:
workflow_dispatch
:
...
@@ -12,7 +13,7 @@ jobs:
...
@@ -12,7 +13,7 @@ jobs:
build
:
build
:
runs-on
:
${{ matrix.os }}
runs-on
:
${{ matrix.os }}
if
:
github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
if
:
(github.event_name == 'workflow_dispatch') || ((github.event_name == 'workflow_run') && (github.event.workflow_run.conclusion == 'success'))
strategy
:
strategy
:
fail-fast
:
false
fail-fast
:
false
matrix
:
matrix
:
...
...
.github/workflows/ubuntu-default.yml
0 → 100644
View file @
70fc78ba
name
:
Ubuntu
3.8
on
:
push
:
paths-ignore
:
-
'
.circleci/**'
pull_request
:
# Allow to run this workflow manually from the Actions tab
workflow_dispatch
:
jobs
:
build
:
runs-on
:
${{ matrix.os }}
if
:
github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
strategy
:
fail-fast
:
false
matrix
:
os
:
[
ubuntu-latest
]
python-version
:
[
"
3.8"
]
exclude
:
# excludes 2.7 on windows as chocolatey does not support it anymore
-
os
:
windows-latest
python-version
:
2.7
steps
:
-
uses
:
actions/checkout@v3
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v4
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Cache eggs
uses
:
actions/cache@v3
with
:
path
:
eggs
key
:
${{ matrix.os }}-${{ matrix.python-version }}-eggs
-
name
:
Run tests
env
:
TMPDIR
:
${{ env.HOME }}/AppData/Local/Temp
TMP
:
${{ env.HOME }}/AppData/Local/Temp
TEMP
:
${{ env.HOME }}/AppData/Local/Temp
BUILD_TYPE
:
bare_machines
run
:
|
echo $TMPDIR
./ci_build.sh
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