Swap action

pull/387/head
Wyatt Stanke 1 year ago
parent fe2026cfcb
commit 817478aa4c
No known key found for this signature in database
GPG Key ID: CE6BA5FFF135536D

@ -85,14 +85,27 @@ jobs:
name: Python ${{ matrix.python-version }} ${{ matrix.test_type }} name: Python ${{ matrix.python-version }} ${{ matrix.test_type }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
# - name: Set up Python ${{ matrix.python-version }}
# uses: "./.github/actions/poetry_setup"
# with:
# python-version: ${{ matrix.python-version }}
# poetry-version: "1.4.2"
# cache-key: ${{ matrix.test_type }}
# install-command: |
# if [ "${{ matrix.test_type }}" == "core" ]; then
# echo "Running core tests, installing dependencies with poetry..."
# poetry install
# else
# echo "Running extended tests, installing dependencies with poetry..."
# poetry install -E extended_testing
# fi
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: "./.github/actions/poetry_setup" uses: "snok/install-poetry@v1"
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
poetry-version: "1.4.2" poetry-version: "1.4.2"
cache-key: ${{ matrix.test_type }} cache-key: ${{ matrix.test_type }}
install-command: | install-command: if [ "${{ matrix.test_type }}" == "core" ]; then
if [ "${{ matrix.test_type }}" == "core" ]; then
echo "Running core tests, installing dependencies with poetry..." echo "Running core tests, installing dependencies with poetry..."
poetry install poetry install
else else

Loading…
Cancel
Save