Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

[pre-commit.ci] pre-commit suggestions #60

[pre-commit.ci] pre-commit suggestions

[pre-commit.ci] pre-commit suggestions #60

Workflow file for this run

name: Test Installation
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
pytest:
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.8]
include:
- os: ubuntu-latest
path: ~/.cache/pip
- os: macos-latest
path: ~/Library/Caches/pip
env:
OS: ${{ matrix.os }}
PYTHON: "3.8"
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v2
with:
path: ${{ matrix.path }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
python --version
pip --version
python -m pip install --upgrade pip build
pip install -r requirements.txt
pip list
shell: bash
- name: Install App
run: pip install -e .
shell: bash