Skip to content

Commit

Permalink
Fix CI main workflow by using Pelican dev
Browse files Browse the repository at this point in the history
  • Loading branch information
davidag committed Apr 24, 2020
1 parent 2f15738 commit 9c24082
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,26 @@ 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
run: python -m pip install poetry
- 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
Expand Down

0 comments on commit 9c24082

Please sign in to comment.