-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (34 loc) · 1022 Bytes
/
ubuntu.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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