Add CI with GH Actions. #1
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: CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "0 0 1 * *" # run monthly | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
APP_NAME: PIQMIe | |
APP_CONFIG: config.ini | |
APP_BASE_URL: http://127.0.0.1:8080 | |
APP_DATA: a000000000000000000000000000000000000001 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "2.7" | |
- name: Python info | |
run: | | |
which python | |
python --version | |
- name: Check sqlite3 | |
run: | | |
sqlite3 --version | |
- name: Check curl | |
run: | | |
curl --version | |
- name: Check jq | |
run: | | |
jq --version |