From ccfce01dc3e2ca9bedc5a5bd79a919329e97fff7 Mon Sep 17 00:00:00 2001 From: OlafenwaMoses Date: Tue, 20 Dec 2022 20:52:26 +0000 Subject: [PATCH 1/3] add base Github action implementation --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..ad6c3233 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: Build and Testing + +on: + + push: + branches: [ master, olafenwamoses/github-action] + +jobs: + UnitestPython38: + + name: Python3.8 Tests + runs-on: ubuntu-latest + # needs: None + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.8' + cache: 'pip' + - name: Install Dependencies + run: | + pip install numpy + python -m pip list \ No newline at end of file From 4704f4aeba4fd028a524fa4fab0dea8c555fd941 Mon Sep 17 00:00:00 2001 From: OlafenwaMoses Date: Tue, 20 Dec 2022 20:55:22 +0000 Subject: [PATCH 2/3] PR run update --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ad6c3233..d693399e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,9 +1,10 @@ name: Build and Testing on: - push: branches: [ master, olafenwamoses/github-action] + pull_request: + branches: [ master ] jobs: UnitestPython38: From 32473a5eb65c958b907519db0965ab846aae8aeb Mon Sep 17 00:00:00 2001 From: OlafenwaMoses Date: Tue, 20 Dec 2022 20:56:58 +0000 Subject: [PATCH 3/3] action refactor --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d693399e..f06be273 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,9 @@ name: Build and Testing on: push: - branches: [ master, olafenwamoses/github-action] + branches: [master] pull_request: - branches: [ master ] + branches: [master] jobs: UnitestPython38: