Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: create composite setup action and allow more PR titles (#550)
Co-authored-by: Johannes Nussbaum <39048939+jnussbaum@users.noreply.github.com>
- Loading branch information
1 parent
68605bd
commit 2084999
Showing
2 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: "Preparation" | ||
description: "Preparation steps to run tests" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install poetry | ||
shell: bin/bash | ||
run: | | ||
curl -sSL https://install.python-poetry.org | python3 - | ||
poetry self add poetry-exec-plugin | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
# attempt to restore dependencies from cache (if successful, the following `poetry install` will be a no-op) | ||
cache: poetry | ||
|
||
- name: Install Python dependencies | ||
shell: bin/bash | ||
run: poetry install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters