Skip to content

Run monthly r tests #46

Run monthly r tests

Run monthly r tests #46

name: Run monthly r tests
on:
schedule:
- cron: "0 0 1 * *"
workflow_dispatch:
jobs:
run_all_tests:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install poetry
uses: snok/[email protected]
with:
version: 1.1.4
virtualenvs-in-project: true
- name: Cache dependencies
uses: actions/cache@v2
with:
path: .venv
key: ${{ runner.OS }}-python-3.8-{{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.OS }}-python-3.8-
${{ runner.OS }}-
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run py.test --language r