Add CI with GH Actions. #9
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-20.04 | |
container: | |
image: python:2.7.18-buster | |
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@v3 | |
- name: Check python | |
run: | | |
python --version | |
- name: Check sqlite3 | |
run: | | |
apt install sqlite3 | |
sqlite3 --version | |
- name: Check curl | |
run: | | |
curl --version | |
- name: Check jq | |
run: | | |
jq --version |