Updated CI versions. #43
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
# The primary workflow that handles building, testing, and deploying. | |
name: Main | |
on: push | |
jobs: | |
main: | |
runs-on: ubuntu-22.04 | |
services: | |
postgres: | |
image: postgres:14.6 | |
env: | |
POSTGRES_USER: runner # Github runner default. | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: psltest | |
POSTGRES_HOST_AUTH_METHOD: trust | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 5432:5432 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 8 | |
distribution: adopt | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.7' | |
- name: Install Dependencies | |
run: ./.ci/install_deps.sh | |
- name: Run Convention Checks | |
run: ./.ci/check_conventions.sh | |
- name: Run Interface Examples | |
run: ./.ci/run_interface_examples.sh | |
- name: Run CLI Examples | |
run: ./.ci/run_examples.sh |