mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-22 18:14:38 +01:00
33 lines
816 B
YAML
33 lines
816 B
YAML
---
|
|
name: CI
|
|
'on': push
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.10.6'
|
|
|
|
- name: Install Poetry Action
|
|
uses: snok/install-poetry@v1.3.1
|
|
with:
|
|
virtualenvs-create: true
|
|
virtualenvs-in-project: true
|
|
|
|
- name: Load cached venv
|
|
id: cached-poetry-dependencies
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: .venv
|
|
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('**/package-lock.json') }}-2
|
|
|
|
- run: pip install poetry
|
|
- run: poetry install
|
|
- run: poetry run make buzz
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: pyinstaller
|
|
path: dist/*
|