Skip to content

Commit c163be9

Browse files
committed
Add GH action, update README
1 parent cb50588 commit c163be9

File tree

2 files changed

+45
-3
lines changed

2 files changed

+45
-3
lines changed

.github/workflows/build.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Build
2+
3+
on:
4+
release:
5+
types: [published]
6+
push:
7+
branches: main
8+
pull_request:
9+
branches: "*"
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: [3.9]
17+
poetry-version: [1.1.10]
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v2
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
- name: Run image
26+
uses: abatilo/actions-poetry@v2.0.0
27+
with:
28+
poetry-version: ${{ matrix.poetry-version }}
29+
- name: Install dependencies
30+
working-directory: ./ossso_app
31+
run: |
32+
poetry install
33+
- name: Test
34+
working-directory: ./ossso_app
35+
run: |
36+
poetry run pytest
37+
38+
- name: Build and publish to pypi
39+
if: github.event_name == 'release'
40+
uses: JRubics/poetry-publish@v1.13
41+
with:
42+
pypi_token: ${{ secrets.PYPI_TOKEN }}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DataQA
22

3-
TODO: Add logo here
3+
![alt text](https://dataqa.ai/static/images/logo-violet.png "DataQA")
44

55
DataQA is a tool to perform AI model quality assessment (QA) using an interactive app that can be shared with technical and non-technical members of your team.
66

@@ -16,7 +16,7 @@ The official documentation page is at: [docs.dataqa.ai]().
1616

1717
## Step 1: create an account
1818

19-
Go to (https://app.dataqa.ai/)[https://app.dataqa.ai/login] and follow the steps to create your first project. Once your account and your first project have been created, you will see a screen such as this one:
19+
Go to [https://app.dataqa.ai/](https://app.dataqa.ai/login) and follow the steps to create your first project. Once your account and your first project have been created, you will see a screen such as this one:
2020

2121
TODO: Add screenshot of the screen with the publish string
2222

@@ -28,7 +28,7 @@ Creating your first shareable QA app is as simple as this:
2828

2929
```python
3030
import pandas as pd
31-
from lib.publish import DataQA
31+
from dataqa.publish import DataQA
3232
dataqa = DataQA()
3333
dataqa.login()
3434
# Prompt username and password

0 commit comments

Comments
 (0)