From 898fcbb8c1335e37455fe5333cc6911d6323b170 Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Thu, 7 Jul 2022 11:14:15 +0200 Subject: [PATCH 1/7] Update linux.yml --- .github/workflows/linux.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 46cb614..b70a7c5 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -10,6 +10,8 @@ jobs: matrix: os: [ubuntu-latest] steps: + - name: Checkout git + - uses: actions/checkout@v2 - name: Install dependencies run: | sudo apt-get install inotify-tools acl From 663b5be3beeded3f122393b52eeca240eadffda7 Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Thu, 7 Jul 2022 11:14:45 +0200 Subject: [PATCH 2/7] Update linux.yml --- .github/workflows/linux.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index b70a7c5..18d8d71 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -10,7 +10,6 @@ jobs: matrix: os: [ubuntu-latest] steps: - - name: Checkout git - uses: actions/checkout@v2 - name: Install dependencies run: | From a83f76c639d77dcf96bff2445c2486acd9f01f9a Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Thu, 7 Jul 2022 11:16:45 +0200 Subject: [PATCH 3/7] Update linux.yml --- .github/workflows/linux.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 18d8d71..162a448 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -18,7 +18,6 @@ jobs: env: RUNNING_ON_GITHUB_ACTIONS: true run: | - ls -alh ./ - sh ./dev/tests/run_tests.sh + bash ./dev/tests/run_tests.sh - name: Upload Coverage to Codecov uses: codecov/codecov-action@v1 From 999aeed303e9326346499422e95d90518d752135 Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Thu, 7 Jul 2022 11:27:39 +0200 Subject: [PATCH 4/7] Add macos github action file --- .github/workflows/macos.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/macos.yml diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..0bfccd0 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,28 @@ +name: macosx-tests + +on: [push, pull_request] + +jobs: + build: + + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest] + steps: + - uses: actions/checkout@v2 + - name: Install Bash 4 + run: | + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + brew update + + brew install bash + brew install gnu-sed + echo "/usr/local/bin" >> $GITHUB_PATH + - name: Execute tests and generate coverage report + env: + RUNNING_ON_GITHUB_ACTIONS: true + run: | + bash ./dev/tests/run_tests.sh + - name: Upload Coverage to Codecov + uses: codecov/codecov-action@v1 From 632db7d9a213a79d9e64e6c3a7cfca8e4c17a094 Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Thu, 7 Jul 2022 11:33:04 +0200 Subject: [PATCH 5/7] Create windows.yml --- .github/workflows/windows.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 0000000..7a7e1be --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,23 @@ +name: windows-tests + +on: [push, pull_request] + +jobs: + build: + + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-latest] + steps: + - uses: actions/checkout@v2 + - name: Execute tests and generate coverage report + - uses: Vampire/setup-wsl@v1 + with: + distribution: Debian + env: + RUNNING_ON_GITHUB_ACTIONS: true + run: | + bash ./dev/tests/run_tests.sh + - name: Upload Coverage to Codecov + uses: codecov/codecov-action@v1 From 36db883ab011e78ff14a0ff603910a7930a3f277 Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Thu, 7 Jul 2022 11:42:13 +0200 Subject: [PATCH 6/7] Fix yaml syntax --- .github/workflows/windows.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 7a7e1be..327d74f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -11,10 +11,9 @@ jobs: os: [windows-latest] steps: - uses: actions/checkout@v2 - - name: Execute tests and generate coverage report - uses: Vampire/setup-wsl@v1 - with: - distribution: Debian + - name: Execute tests and generate coverage report + shell: wsl-bash {0} env: RUNNING_ON_GITHUB_ACTIONS: true run: | From 7da01328b2c1184206960edfce260df51bc23679 Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Thu, 7 Jul 2022 12:19:38 +0200 Subject: [PATCH 7/7] Update windows.yml --- .github/workflows/windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 327d74f..406690b 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -17,6 +17,6 @@ jobs: env: RUNNING_ON_GITHUB_ACTIONS: true run: | - bash ./dev/tests/run_tests.sh + ./dev/tests/run_tests.sh - name: Upload Coverage to Codecov uses: codecov/codecov-action@v1