Skip to content

Merge branch 'main' of https://github.com/timothywarner/actions-cert-… #7

Merge branch 'main' of https://github.com/timothywarner/actions-cert-…

Merge branch 'main' of https://github.com/timothywarner/actions-cert-… #7

Workflow file for this run

name: Python app test (includes env var example)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
env:
PYTHON_VERSION: 3.8
DEPENDENCY_FILE: requirements.txt
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ${{ env.DEPENDENCY_FILE }}
# - name: Test with pytest
# run: |