From ec2d7630539fc26b1f5a901d46c09316a4e44c4d Mon Sep 17 00:00:00 2001 From: GuillaumeFalourd Date: Thu, 21 Oct 2021 15:07:46 -0300 Subject: [PATCH] add all workflows for tests Signed-off-by: GuillaumeFalourd --- .github/workflows/macos_action_test.yml | 33 +++++++++++++++++++ .github/workflows/ubuntu_action_test.yml | 6 ++-- .github/workflows/windows_action_test.yml | 33 +++++++++++++++++++ ...ntu_report_2.txt => macos_report_full.txt} | 0 ..._report_1.txt => macos_report_minimal.txt} | 0 reports/ubuntu_report_full.txt | 1 + reports/ubuntu_report_minimal.txt | 1 + reports/windows_report_full.txt | 1 + reports/windows_report_minimal.txt | 1 + 9 files changed, 73 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/macos_action_test.yml create mode 100644 .github/workflows/windows_action_test.yml rename reports/{ubuntu_report_2.txt => macos_report_full.txt} (100%) rename reports/{ubuntu_report_1.txt => macos_report_minimal.txt} (100%) create mode 100644 reports/ubuntu_report_full.txt create mode 100644 reports/ubuntu_report_minimal.txt create mode 100644 reports/windows_report_full.txt create mode 100644 reports/windows_report_minimal.txt diff --git a/.github/workflows/macos_action_test.yml b/.github/workflows/macos_action_test.yml new file mode 100644 index 0000000..f9cbaea --- /dev/null +++ b/.github/workflows/macos_action_test.yml @@ -0,0 +1,33 @@ +name: Action test on MacOS + +on: + schedule: + - cron: "0 4 * * *" # Runs at 04:00 UTC everyday + push: + workflow_dispatch: + +jobs: + macos-minimal: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2.3.4 + - run: date > reports/macos_report_minimal.txt + - uses: GuillaumeFalourd/git-commit-push@main + + macos-full: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2.3.4 + - run: date > reports/macos_report_full.txt + - uses: GuillaumeFalourd/git-commit-push@main + with: + email: ${{ github.actor }}[bot]@users.noreply.github.com + name: ${{ github.actor }} + commit_message: macos full workflow + target_branch: macos + files: reports/macos_report_full.txt + remote_repository: origin + access_token: ${{ github.token }} + force: true + empty: true + tags: true \ No newline at end of file diff --git a/.github/workflows/ubuntu_action_test.yml b/.github/workflows/ubuntu_action_test.yml index c2cdfe5..6c49d8b 100644 --- a/.github/workflows/ubuntu_action_test.yml +++ b/.github/workflows/ubuntu_action_test.yml @@ -11,21 +11,21 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.4 - - run: date > reports/ubuntu_report_1.txt + - run: date > reports/ubuntu_report_minimal.txt - uses: GuillaumeFalourd/git-commit-push@main ubuntu-full: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.4 - - run: date > reports/ubuntu_report_2.txt + - run: date > reports/ubuntu_report_full.txt - uses: GuillaumeFalourd/git-commit-push@main with: email: ${{ github.actor }}[bot]@users.noreply.github.com name: ${{ github.actor }} commit_message: ubuntu full workflow target_branch: ubuntu - files: reports/ubuntu_report_2.txt + files: reports/ubuntu_report_full.txt remote_repository: origin access_token: ${{ github.token }} force: true diff --git a/.github/workflows/windows_action_test.yml b/.github/workflows/windows_action_test.yml new file mode 100644 index 0000000..089dc6e --- /dev/null +++ b/.github/workflows/windows_action_test.yml @@ -0,0 +1,33 @@ +name: Action test on Windows + +on: + schedule: + - cron: "0 6 * * *" # Runs at 06:00 UTC everyday + push: + workflow_dispatch: + +jobs: + windows-minimal: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2.3.4 + - run: date > reports/windows_report_minimal.txt + - uses: GuillaumeFalourd/git-commit-push@main + + windows-full: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2.3.4 + - run: date > reports/windows_report_full.txt + - uses: GuillaumeFalourd/git-commit-push@main + with: + email: ${{ github.actor }}[bot]@users.noreply.github.com + name: ${{ github.actor }} + commit_message: windows full workflow + target_branch: windows + files: reports/windows_report_full.txt + remote_repository: origin + access_token: ${{ github.token }} + force: true + empty: true + tags: true \ No newline at end of file diff --git a/reports/ubuntu_report_2.txt b/reports/macos_report_full.txt similarity index 100% rename from reports/ubuntu_report_2.txt rename to reports/macos_report_full.txt diff --git a/reports/ubuntu_report_1.txt b/reports/macos_report_minimal.txt similarity index 100% rename from reports/ubuntu_report_1.txt rename to reports/macos_report_minimal.txt diff --git a/reports/ubuntu_report_full.txt b/reports/ubuntu_report_full.txt new file mode 100644 index 0000000..3ea6edb --- /dev/null +++ b/reports/ubuntu_report_full.txt @@ -0,0 +1 @@ +Thu Oct 21 18:00:59 UTC 2021 diff --git a/reports/ubuntu_report_minimal.txt b/reports/ubuntu_report_minimal.txt new file mode 100644 index 0000000..045c803 --- /dev/null +++ b/reports/ubuntu_report_minimal.txt @@ -0,0 +1 @@ +Thu Oct 21 18:02:21 UTC 2021 diff --git a/reports/windows_report_full.txt b/reports/windows_report_full.txt new file mode 100644 index 0000000..3ea6edb --- /dev/null +++ b/reports/windows_report_full.txt @@ -0,0 +1 @@ +Thu Oct 21 18:00:59 UTC 2021 diff --git a/reports/windows_report_minimal.txt b/reports/windows_report_minimal.txt new file mode 100644 index 0000000..045c803 --- /dev/null +++ b/reports/windows_report_minimal.txt @@ -0,0 +1 @@ +Thu Oct 21 18:02:21 UTC 2021