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

Update README.md

Update README.md #14

Workflow file for this run

name: Tests
on:
push:
branches:
- main
jobs:
tests:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-20.04
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set Python version
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Cookiecutter
run: pip install cookiecutter
- name: Create a project from cookiecutter
run: cookiecutter . --no-input
- name: Create virtual environment
run: |
cd my_project
python3 -m venv venv
- name: Install requirements
run: |
cd my_project
source ./venv/bin/activate
make requirements
- name: Run tests
run: |
cd my_project
source ./venv/bin/activate
make test