From 31be3c3b08412a070fc6d47baf422eede3ba0ad0 Mon Sep 17 00:00:00 2001 From: Freddy Adiv <55316909+FredAdiv@users.noreply.github.com> Date: Thu, 18 May 2023 09:59:33 +0300 Subject: [PATCH 1/5] Create ci.yml @szabgab --- .github/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1c7ba11 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,32 @@ +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python + +name: Python application + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.10 + uses: actions/setup-python@v3 + with: + python-version: "3.10" + - name: Install dependencies + run: | + pip install -r requirements.txt && pip install -e . + pip install pytest + - name: Test with pytest + run: | + pytest From b9293c17988b373b28edfdb0475ed958cbc2fb66 Mon Sep 17 00:00:00 2001 From: Freddy Adiv <55316909+FredAdiv@users.noreply.github.com> Date: Thu, 18 May 2023 10:06:52 +0300 Subject: [PATCH 2/5] Create python-app.yml @szabgab --- .github/workflows/python-app.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/python-app.yml diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml new file mode 100644 index 0000000..1cbbb24 --- /dev/null +++ b/.github/workflows/python-app.yml @@ -0,0 +1,31 @@ +# This workflow will install Python dependencies and run tests with a single version of Python for Penn repository + +name: Testing Penn + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.10 + uses: actions/setup-python@v3 + with: + python-version: "3.10" + - name: Install dependencies + run: | + pip install -r requirements.txt && pip install -e . + pip install pytest + - name: Test with pytest + run: | + pytest From c0613a169dea11117b84c0fd0bead69126c2b7a7 Mon Sep 17 00:00:00 2001 From: Freddy Adiv <55316909+FredAdiv@users.noreply.github.com> Date: Thu, 18 May 2023 10:11:51 +0300 Subject: [PATCH 3/5] Create test_ci.yml @szabgab --- .github/workflows/test_ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/test_ci.yml diff --git a/.github/workflows/test_ci.yml b/.github/workflows/test_ci.yml new file mode 100644 index 0000000..1cbbb24 --- /dev/null +++ b/.github/workflows/test_ci.yml @@ -0,0 +1,31 @@ +# This workflow will install Python dependencies and run tests with a single version of Python for Penn repository + +name: Testing Penn + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.10 + uses: actions/setup-python@v3 + with: + python-version: "3.10" + - name: Install dependencies + run: | + pip install -r requirements.txt && pip install -e . + pip install pytest + - name: Test with pytest + run: | + pytest From 5ee3278aefa6b31694f0b8a4deb42392e15c789e Mon Sep 17 00:00:00 2001 From: Freddy Adiv <55316909+FredAdiv@users.noreply.github.com> Date: Thu, 18 May 2023 10:14:37 +0300 Subject: [PATCH 4/5] Delete ci.yml --- .github/workflows/ci.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 1c7ba11..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,32 +0,0 @@ -# This workflow will install Python dependencies, run tests and lint with a single version of Python -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python - -name: Python application - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -permissions: - contents: read - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Set up Python 3.10 - uses: actions/setup-python@v3 - with: - python-version: "3.10" - - name: Install dependencies - run: | - pip install -r requirements.txt && pip install -e . - pip install pytest - - name: Test with pytest - run: | - pytest From db652149933e0519b688fad894e47b315e4ea4bc Mon Sep 17 00:00:00 2001 From: Freddy Adiv <55316909+FredAdiv@users.noreply.github.com> Date: Thu, 18 May 2023 10:14:53 +0300 Subject: [PATCH 5/5] Delete python-app.yml --- .github/workflows/python-app.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 .github/workflows/python-app.yml diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml deleted file mode 100644 index 1cbbb24..0000000 --- a/.github/workflows/python-app.yml +++ /dev/null @@ -1,31 +0,0 @@ -# This workflow will install Python dependencies and run tests with a single version of Python for Penn repository - -name: Testing Penn - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -permissions: - contents: read - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Set up Python 3.10 - uses: actions/setup-python@v3 - with: - python-version: "3.10" - - name: Install dependencies - run: | - pip install -r requirements.txt && pip install -e . - pip install pytest - - name: Test with pytest - run: | - pytest