[WIP] Change order of poetry install - in case this fixes core tests #377
Workflow file for this run
This file contains hidden or 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
name: Core Tests | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- src/** | |
- poetry.lock | |
- pyproject.toml | |
pull_request: | |
paths: | |
- src/** | |
- poetry.lock | |
- pyproject.toml | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
os: [ubuntu-22.04, ubuntu-latest] | |
defaults: | |
run: | |
working-directory: ./ | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'poetry' | |
- name: Install Poetry | |
run: | | |
export POETRY_HOME=/opt/poetry | |
python3 -m venv $POETRY_HOME | |
$POETRY_HOME/bin/pip install poetry | |
$POETRY_HOME/bin/poetry --version | |
- name: Install dependencies | |
run: poetry install --no-interaction --with dev | |
- name: Run Core Tests | |
run: | | |
poetry run auto-archiver --version || true | |
poetry run pytest -ra -v -m "not download" |