mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-08 03:18:28 +03:00
update runner os to matrix os.
This commit is contained in:
7
.github/workflows/tests-core.yaml
vendored
7
.github/workflows/tests-core.yaml
vendored
@@ -42,15 +42,10 @@ jobs:
|
||||
path: |
|
||||
~/.cache/pypoetry
|
||||
~/.cache/pip
|
||||
key: poetry-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
|
||||
|
||||
- name: Clear Poetry PyPI cache
|
||||
run: poetry cache clear pypi --all
|
||||
key: poetry-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
|
||||
|
||||
- name: Install dependencies from source only
|
||||
run: poetry install --no-interaction --with dev
|
||||
env:
|
||||
PIP_NO_BINARY: ":all:"
|
||||
|
||||
- name: Run Core Tests
|
||||
run: |
|
||||
|
||||
7
.github/workflows/tests-download.yaml
vendored
7
.github/workflows/tests-download.yaml
vendored
@@ -36,15 +36,10 @@ jobs:
|
||||
path: |
|
||||
~/.cache/pypoetry
|
||||
~/.cache/pip
|
||||
key: poetry-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
|
||||
|
||||
- name: Clear Poetry PyPI cache
|
||||
run: poetry cache clear pypi --all
|
||||
key: poetry-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
|
||||
|
||||
- name: Install dependencies from source only
|
||||
run: poetry install --no-interaction --with dev
|
||||
env:
|
||||
PIP_NO_BINARY: ":all:"
|
||||
|
||||
- name: Run Download Tests
|
||||
run: poetry run pytest -ra -v -x -m "download"
|
||||
|
||||
Reference in New Issue
Block a user