Skip to content

Commit

Permalink
ci: Reduce checks run duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanty committed Aug 22, 2021
1 parent b8e3194 commit 5d9e0e0
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 37 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]

jobs:
Expand All @@ -26,11 +25,11 @@ jobs:
path: .venv
key: ${{ runner.os }}-${{ matrix.python }}-dependencies-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.python }}-dependencies-v2
${{ runner.os }}-${{ matrix.python }}-dependencies
- name: Install dependencies
run: |
pip install poetry
poetry config virtualenvs.in-project true
python -m venv .venv
poetry run python -m pip install --upgrade pip
poetry install
Expand Down
76 changes: 42 additions & 34 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5d9e0e0

Please sign in to comment.