add close button to sketcher #162
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: 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 |