Create python-app.yml

This commit is contained in:
Anthony Samms
2024-08-21 05:41:57 +00:00
committed by GitHub
parent 4883a9ccc2
commit bc12445f80

28
.github/workflows/python-app.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: PyTaiko
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build executables or extension modules from Python projects
uses: Nuitka/Nuitka-Action@v1.1