Skip to content

Commit

Permalink
Merge pull request #16 from ewjoachim/fix-deploy-ci
Browse files Browse the repository at this point in the history
Iterate on CI again
  • Loading branch information
ewjoachim authored Apr 17, 2021
2 parents 810934b + eb048f2 commit 64ad7ba
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Python
id: setup_python
id: setup-python
uses: actions/setup-python@v2
with:
python_version: ${{ matrix.python_version }}
Expand All @@ -40,7 +40,7 @@ jobs:
with:
path: |
~/.cache/
key: ${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}-${{ hashFiles('.pre-commit-config.yaml') }}
key: ${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}-${{ hashFiles('.pre-commit-config.yaml') }}

- name: Install Poetry
run: pip install poetry
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,25 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Setup Python
- name: Set up Python
id: setup-python
uses: actions/setup-python@v2
with:
python-version: 3.x
python_version: ${{ matrix.python_version }}

- name: Pip cache
- name: Pip, Pre-commit & Poetry caches
uses: actions/cache@v2
with:
path: |
~/.cache/pip
key: publish-cache
~/.cache/
key: ${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}-${{ hashFiles('.pre-commit-config.yaml') }}

- name: Install Poetry
run: pip install poetry

- name: Install Dev dependencies
run: poetry install

- name: Wait for tests to succeed
uses: fountainhead/action-wait-for-check@v1.0.0
id: wait-for-ci
Expand Down

0 comments on commit 64ad7ba

Please sign in to comment.