From 2a7b7f1902229c05832b932e9110fa5d35f29a72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=AB=20Bullard?= <68021211+chloeann95@users.noreply.github.com> Date: Mon, 27 Feb 2023 13:50:59 -0500 Subject: [PATCH 1/3] added test insall file to GH action workflow --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e01bb4a4..896a1ad6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,6 +47,8 @@ jobs: - name: Validate pdfmorph shell: bash -l {0} run: | + cd ./diffpy/pdfmorph + conda activate test cd ./diffpy/pdfmorph conda activate test pytest tests From 827bad238ea61107793dfc41237c50a4cdcdd799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=AB=20Bullard?= <68021211+chloeann95@users.noreply.github.com> Date: Mon, 27 Feb 2023 14:18:01 -0500 Subject: [PATCH 2/3] added test files to GH actions workflow --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 896a1ad6..41fa7a17 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,6 +42,7 @@ jobs: conda config --set always_yes yes --set changeps1 no conda config --add channels conda-forge conda install --file requirements/run.txt + conda install --file requirements/test.txt pip install . - name: Validate pdfmorph From 81207d8eb4e8c4a570ef085e270fa07db62584f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=AB=20Bullard?= <68021211+chloeann95@users.noreply.github.com> Date: Mon, 27 Feb 2023 14:25:11 -0500 Subject: [PATCH 3/3] fixed duplicate run action --- .github/workflows/main.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 41fa7a17..67b02f9a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,8 +48,6 @@ jobs: - name: Validate pdfmorph shell: bash -l {0} run: | - cd ./diffpy/pdfmorph - conda activate test cd ./diffpy/pdfmorph conda activate test pytest tests