Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

testing cihub

testing cihub #224

Workflow file for this run

name: testing cihub
on:
push:
branches: [ main ]
pull_request:
schedule:
- cron: '0 5 * * MON-FRI'
# Allow to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: run python ${{ matrix.python-version }} tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [
"3.7",
]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/Pipfile.lock') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv
pipenv install --dev
cp .env.in .env
- name: Run tests
run: pipenv run pytest