Skip to content

Commit

Permalink
Fix problem with failing CI pipeline and update some packages
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrgredowski committed Jun 29, 2022
1 parent e5c9064 commit cb8d842
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 260 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]
schedule:
- cron: '0 14 * * *'

Expand All @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
python-version: [3.6, 3.7, 3.8, 3.9, '3.10']
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
Expand All @@ -30,22 +30,22 @@ jobs:
- name: Load cached Poetry installation
uses: actions/cache@v2
with:
path: ~/.local # the path depends on the OS
key: poetry-1 # increment to reset cache
path: ~/.local # the path depends on the OS
key: poetry-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}

- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.2.0a2
virtualenvs-create: true
virtualenvs-in-project: true
virtualenvs-in-project: false

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v2
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
key: virtualenv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-1

- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.local # the path depends on the OS
key: poetry-1 # increment to reset cache
key: poetry-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}

- name: Install Poetry
uses: snok/install-poetry@v1
Expand All @@ -30,7 +30,7 @@ jobs:
uses: actions/cache@v2
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
key: virtualenv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-1

- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
Expand Down
Loading

0 comments on commit cb8d842

Please sign in to comment.