Skip to content

Commit

Permalink
Merge 06eddd4 into e1a57b8
Browse files Browse the repository at this point in the history
  • Loading branch information
fredkingham committed Aug 26, 2022
2 parents e1a57b8 + 06eddd4 commit f0f663f
Show file tree
Hide file tree
Showing 15 changed files with 106 additions and 2,202 deletions.
18 changes: 0 additions & 18 deletions .appveyor.yml

This file was deleted.

83 changes: 83 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,83 @@
on: [push, pull_request]
jobs:
# run python/js tests, coveralls and lint
integration-test:
name: Integration test ${{ matrix.os }} python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
services:
postgres:
image: postgres:11
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: ci_db_test
ports:
- 5432:5432
strategy:
fail-fast: false
matrix:
os:
- ubuntu-18.04
python-version:
- 3.6
- 3.7
- 3.8
- 3.9
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set up ruby for coveralls
uses: actions/setup-ruby@v1
- name: Set up js
uses: actions/setup-node@v1
- name: Install js dependencies
run: npm install jasmine-core@2.3.4 karma@1.5 karma-coverage@1.1.1 karma-jasmine@0.3.8 karma-firefox-launcher@2.1.0 karma-coveralls@1.1.2
- name: Install opal
run: pip install -e .
env:
OPAL_TEST_USE_POSTGRES: 1
- name: Install dependencies
run: pip install -r test-requirements.txt
- run: gem install coveralls-lcov
- run: gem install rake
- name: run tests
run: opal test --coverage
- name: flake8
run: flake8
- name: combine coveralls
run: find coverage -name "lcov.info" -exec coveralls-lcov -v -n {} \; > coverage/coverage.json
- run: coveralls --merge=coverage/coverage.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}"
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
# make sure the python side of things works on windows
other-os-tests:
name: Test ${{ matrix.os }} Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- windows-latest
python-version:
- 3.6
- 3.7
- 3.8
- 3.9
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install opal
run: pip install -e .
- name: Install dependencies
run: pip install -r test-requirements.txt
- name: run tests
run: opal test py
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

5 changes: 3 additions & 2 deletions README.md
@@ -1,10 +1,11 @@
Opal
====

[![Build Status](https://travis-ci.org/openhealthcare/opal.svg?branch=v0.11.0)](https://travis-ci.org/openhealthcare/opal)
![Build](https://github.com/openhealthcare/opal/workflows/.github/workflows/build.yml/badge.svg)

[![Coverage Status](https://coveralls.io/repos/github/openhealthcare/opal/badge.svg?branch=v0.11.0)](https://coveralls.io/github/openhealthcare/opal?branch=v0.11.0)
[![PyPI version](https://badge.fury.io/py/opal.svg)](https://badge.fury.io/py/opal)

[![PyPI version](https://badge.fury.io/py/opal.svg)](https://badge.fury.io/py/opal)

Opal is a full stack web framework that makes building digital tools for health care easy.

Expand Down
30 changes: 0 additions & 30 deletions opal/core/search/tests/test_api.py

This file was deleted.

0 comments on commit f0f663f

Please sign in to comment.