From 7e38981c5903b4d01a5b402428fcc49c3eff7b82 Mon Sep 17 00:00:00 2001 From: David Alfonso Date: Fri, 24 Apr 2020 19:17:05 +0200 Subject: [PATCH] Fix build tests by using Pelican dev This is required to be able to use the module pelican.tests in the tests --- .github/workflows/main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 59f0322..957e92a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,13 +9,16 @@ on: jobs: test: runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.7] steps: - uses: actions/checkout@v1 - - name: Set up Python 3.7 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: - python-version: 3.7 + python-version: ${{ matrix.python-version }} - name: Upgrade Pip run: python -m pip install -U pip - name: Install Poetry @@ -23,8 +26,9 @@ jobs: - name: Install dependencies run: | poetry run pip install -U pip - poetry run pip install -e git://github.com/getpelican/pelican.git#egg=pelican poetry install + poetry run pip uninstall -y pelican + poetry run pip install -e git://github.com/getpelican/pelican.git#egg=pelican - name: Run tests run: poetry run invoke tests - name: Run linters