Skip to content

Commit

Permalink
ci: test_weekly.yml update
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Oct 8, 2024
1 parent 0036d1f commit f74f307
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/test_weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,22 @@
name: Weekly Integration Tests
on:
workflow_dispatch:
local:
type: boolean
description: Run test locally (takes long time)
required: true
docker:
type: boolean
description: Run tests in prebuilt docker image (fast)
required: true
schedule:
- cron: "0 12 * * 0" # Sundays @ 12:00

jobs:
test_local:
name: Weekly Tests (Local)
runs-on: ${{ matrix.os }}
if: ${{ github.event_name == 'schedule' || github.event.inputs.local }}
strategy:
fail-fast: false
matrix:
Expand All @@ -34,8 +43,8 @@ jobs:
os:
- ubuntu-latest
config:
- {branch: main, template: default, path: "tests"}
- {branch: develop, template: dev, path: "tests"}
- {branch: main, template: default, path: "tests --ignore tests/integration-tests/toolchains"}
- {branch: develop, template: dev, path: "tests --ignore tests/integration-tests/toolchains"}
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
Expand Down Expand Up @@ -96,14 +105,15 @@ jobs:
name: Weekly Tests (Docker)
runs-on: ubuntu-latest
# container: ${{ matrix.config.image }}
if: ${{ github.event_name == 'schedule' || github.event.inputs.docker }}
strategy:
fail-fast: false
matrix:
config:
- {branch: main, image: "tumeda/mlonmcu-bench:latest", path: "tests/unit-tests"}
- {branch: main, image: "tumeda/mlonmcu-bench:latest", path: "tests/integration-tests"}
- {branch: main, image: "tumeda/mlonmcu-bench:latest", path: "tests/integration-tests --ignore tests/integration-tests/toolchains"}
- {branch: develop, image: "tumeda/mlonmcu-bench:dev-develop-latest", path: "tests/unit-tests"}
- {branch: develop, image: "tumeda/mlonmcu-bench:dev-develop-latest", path: "tests/integration-tests"}
- {branch: develop, image: "tumeda/mlonmcu-bench:dev-develop-latest", path: "tests/integration-tests --ignore tests/integration-tests/toolchains"}
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
Expand Down

0 comments on commit f74f307

Please sign in to comment.