Skip to content

Merge pull request #49 from janash/fix/aromatize #125

Merge pull request #49 from janash/fix/aromatize

Merge pull request #49 from janash/fix/aromatize #125

Workflow file for this run

name: Testing
on:
push:
branches: [ "update", "add-testing" ]
pull_request:
branches: [ "update" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# need checkout before using compose-action
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.11
environment-file: tests/testing.yaml
channels: conda-forge,defaults
activate-environment: test
auto-update-conda: false
auto-activate-base: false
show-channel-urls: true
- uses: isbang/[email protected]
with:
compose-file: "./docker-compose.test.yml"
#down-flags: "--volumes"
services: |
test_database
test_backend
test_reverse-proxy
- name: populate db
# conda setup requires this special shell
shell: bash -l {0}
run: |
sudo apt-get install -y postgresql
psql -U postgres -h localhost -f tests/db/test_db_small.sql
- name: run tests
shell: bash -l {0}
run: pytest -v