uhome #172
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: BLOOM Ubuntu | |
on: | |
push: | |
branches: | |
- 'main' | |
tags: | |
- '*' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
ubuntu-22-job: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.12.0 | |
- name: Set up Miniconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniconda-version: "latest" | |
python-version: 3.12.0 # Update to your required Python version | |
activate-environment: BLOOM | |
environment-file: bloom_env.yaml # If you have an environment file | |
auto-activate-base: false | |
- name: Run custom PostgreSQL setup script (if applicable) | |
shell: bash -l {0} | |
run: | | |
pip3 install pytest psycopg2-binary sqlalchemy zebra_day==0.3.0.4 pytz fedex_tracking_day==0.2.6 | |
source bloom_lims/env/install_postgres.sh skip | |
pytest |