Add more info about development process (#9) #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests Python 3.8 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Cache packages | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pypoetry | |
key: ${{ runner.os }}-pypoetry38-${{ hashFiles('poetry.lock') }} | |
restore-keys: | | |
${{ runner.os }}-pypoetry38- | |
- name: Install application dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools wheel poetry | |
poetry env use 3.8 | |
poetry install | |
- name: Run tests | |
run: | | |
make test |