Skip to content

Commit d2aaf6b

Browse files
authored
Upgrade CI after the 1.10 release (#10075)
1 parent d577f46 commit d2aaf6b

18 files changed

+41
-251
lines changed

.github/workflows/ci_dockers.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI build Docker
1+
name: Docker
22
# https://www.docker.com/blog/first-docker-github-action-is-here
33
# https://github.com/docker/build-push-action
44
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
@@ -23,9 +23,9 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
# should be the config used in '.github/workflows/release-docker.yml', but we just keep one to check.
27-
python_version: ["3.9"]
28-
pytorch_version: ["1.9"]
26+
# the config used in '.azure-pipelines/gpu-tests.yml' since the Dockerfile uses the cuda image
27+
python_version: ["3.7"]
28+
pytorch_version: ["1.8"]
2929
steps:
3030
- name: Checkout
3131
uses: actions/checkout@v2

.github/workflows/ci_pkg-install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Install pkg
1+
name: Package
22

33
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
44
on: # Trigger the workflow on push or pull request, but only for the master branch
@@ -9,7 +9,7 @@ on: # Trigger the workflow on push or pull request, but only for the master bra
99

1010
jobs:
1111

12-
pkg-install:
12+
install:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
fail-fast: false

.github/workflows/ci_schema.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: CI action schema
1+
name: Schema
22
on: # Trigger the workflow on push or pull request, but only for the master branch
33
push: {}
44
pull_request:
55
branches: [master, "release/*"]
66

77
jobs:
8-
validate-schema:
8+
check:
99
runs-on: ubuntu-20.04
1010
steps:
1111
- name: Checkout

.github/workflows/ci_test-base.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# this jobs runs `pytest` over the source directory. It does not install any extra dependencies.
22
# this is useful to catch errors where an import has been added which is not part of the basic dependencies.
3-
name: CI basic testing
3+
name: Test
44

55
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
66
on: # Trigger the workflow on push or pull request, but only for the master branch
@@ -10,8 +10,7 @@ on: # Trigger the workflow on push or pull request, but only for the master bra
1010
branches: [master, "release/*"]
1111

1212
jobs:
13-
doctest:
14-
13+
source:
1514
runs-on: ${{ matrix.os }}
1615
strategy:
1716
fail-fast: false

.github/workflows/ci_test-conda.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PyTorch & Conda
1+
name: Test
22

33
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
44
on: # Trigger the workflow on push or pull request, but only for the master branch
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
python-version: ["3.8"] # previous to last Python version as that one is already used in test-full
18-
pytorch-version: ["1.7", "1.8", "1.9", "1.10"]
18+
pytorch-version: ["1.7", "1.8", "1.9", "1.10"] # nightly: add when there's a release candidate
1919

2020
# Timeout: https://stackoverflow.com/a/59076067/4521646
2121
timeout-minutes: 35

.github/workflows/ci_test-full.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI complete testing
1+
name: Test
22

33
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
44
on: # Trigger the workflow on push or pull request, but only for the master branch
@@ -10,7 +10,7 @@ on: # Trigger the workflow on push or pull request, but only for the master bra
1010

1111
jobs:
1212

13-
pytest:
13+
cpu:
1414

1515
runs-on: ${{ matrix.os }}
1616
if: github.event.pull_request.draft == false

.github/workflows/ci_test-mnodes.yml

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

.github/workflows/code-checks.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Check code"
1+
name: Test
22

33
on: # Trigger the workflow on push or pull request, but only for the master branch
44
push:
@@ -7,8 +7,7 @@ on: # Trigger the workflow on push or pull request, but only for the master bra
77
branches: [master, "release/*"]
88

99
jobs:
10-
python-typing-mypy:
11-
name: Python typing Mypy
10+
mypy:
1211
runs-on: ubuntu-20.04
1312
steps:
1413
- uses: actions/checkout@master

.github/workflows/docs-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Docs check"
1+
name: Test
22
# https://github.com/marketplace/actions/sphinx-build
33

44
on: # Trigger the workflow on push or pull request, but only for the master branch
@@ -8,7 +8,7 @@ on: # Trigger the workflow on push or pull request, but only for the master bra
88
branches: [master, "release/*"]
99

1010
jobs:
11-
test-docs:
11+
doctest:
1212
runs-on: ubuntu-20.04
1313
steps:
1414
- uses: actions/checkout@v2

.github/workflows/events-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Nightly events
1+
name: Nightly
22

33
# https://jasonet.co/posts/scheduled-actions/
44
# https://github.202132.xyzmunity/t/distinct-job-for-each-schedule/17811/2

0 commit comments

Comments
 (0)