Skip to content

Commit

Permalink
set timeout to 1hr, tests historically complete before then (#2687)
Browse files Browse the repository at this point in the history
move clang-format to separate workflow for additional static analyzers
  • Loading branch information
Russel Waters committed Mar 27, 2020
1 parent ea1a43c commit 89d2ac9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/analyzers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Static Analyzers

on: [push, pull_request]

jobs:
clang_format:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@50fbc62
- name: Get clang-format 8
env:
DEBIAN_FRONTEND: noninteractive
run: sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-8 1000
- name: Clang Format
run: ci/check-commit-format.sh
3 changes: 3 additions & 0 deletions .github/workflows/release_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:

gcc_test:
runs-on: ubuntu-18.04
timeout-minutes: 60
steps:
- uses: actions/checkout@722adc6
- name: Checkout Submodules
Expand All @@ -35,6 +36,7 @@ jobs:

clang_test:
runs-on: ubuntu-18.04
timeout-minutes: 60
steps:
- uses: actions/checkout@722adc6
- name: Checkout Submodules
Expand All @@ -46,6 +48,7 @@ jobs:

windows_test:
runs-on: windows-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@722adc6
- name: Checkout Submodules
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,9 @@ jobs:
- name: Run Tests
run: ci/build-travis.sh "/tmp/qt/lib/cmake/Qt5";

clang_format:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@50fbc62
- name: Get clang-format 8
env:
DEBIAN_FRONTEND: noninteractive
run: sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-8 1000
- name: Clang Format
run: ci/check-commit-format.sh

gcc_test:
runs-on: ubuntu-18.04
timeout-minutes: 60
steps:
- uses: actions/checkout@722adc6
- name: Checkout Submodules
Expand All @@ -44,6 +34,7 @@ jobs:

clang_test:
runs-on: ubuntu-18.04
timeout-minutes: 60
steps:
- uses: actions/checkout@722adc6
- name: Checkout Submodules
Expand All @@ -55,6 +46,7 @@ jobs:

windows_test:
runs-on: windows-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@722adc6
- name: Windows Defender
Expand Down

0 comments on commit 89d2ac9

Please sign in to comment.