From f7875ee869a5db4dda03b8de0861ef433b94e149 Mon Sep 17 00:00:00 2001 From: Ace Date: Thu, 14 Apr 2022 04:58:26 +0200 Subject: [PATCH 1/4] Update tests.yml --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4657c25..124f209 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,14 +9,14 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Set up Python 3.10.2 + - name: Set up Python 3.10 uses: actions/setup-python@v1 with: - python-version: 3.10.2 + python-version: 3.10 - name: Clone repo run: | - git clone https://github.com/aceisace/Inkycal + git clone --branch main --single-branch https://github.com/aceisace/Inkycal - name: Install dependencies and run run: | From 7b8f4700d5d133cd9db8657911d4b3b7bb9bbefe Mon Sep 17 00:00:00 2001 From: Ace Date: Thu, 14 Apr 2022 04:58:49 +0200 Subject: [PATCH 2/4] Update tests.yml --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 124f209..f92fedc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: - name: Clone repo run: | - git clone --branch main --single-branch https://github.com/aceisace/Inkycal + git clone --branch feature/venv --single-branch https://github.com/aceisace/Inkycal - name: Install dependencies and run run: | From 87108eb89e1768441b60eab151e9d2e91b5e37be Mon Sep 17 00:00:00 2001 From: Ace Date: Thu, 14 Apr 2022 04:59:45 +0200 Subject: [PATCH 3/4] Update tests.yml --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f92fedc..dc42dcd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Set up Python 3.10 + - name: Set up Python 3.9 uses: actions/setup-python@v1 with: - python-version: 3.10 + python-version: 3.9 - name: Clone repo run: | From 1d1b6640bf6eb45c30efc3b8b02a0edfcf94596a Mon Sep 17 00:00:00 2001 From: Ace Date: Thu, 14 Apr 2022 05:45:20 +0200 Subject: [PATCH 4/4] testing --- .github/workflows/tests.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dc42dcd..5bffb06 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,11 +18,21 @@ jobs: run: | git clone --branch feature/venv --single-branch https://github.com/aceisace/Inkycal + - name: Creating virtual evvironment + run: | + cd Inkycal + python3 -m venv venv + source venv/bin/activate + python -m pip install --upgrade pip + + - name: Downloading settings.json file + run: | + wget https://raw.githubusercontent.com/aceisace/Inkycal/assets/tests/settings.json + - name: Install dependencies and run run: | - python -m pip install --upgrade pip - cd Inkycal - pip3 install -e ./ + pip install wheel + pip install -e ./ cd inkycal/modules && ls -al cd .. cd tests