Skip to content

Commit

Permalink
Merge branch 'release/0.8.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
JeltevanBoheemen committed Jan 31, 2024
2 parents 91de0ef + 1eaebbb commit bd23bef
Show file tree
Hide file tree
Showing 12 changed files with 506 additions and 312 deletions.
66 changes: 66 additions & 0 deletions .github/workflows/test-backend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Backend unit tests

on:
workflow_dispatch:
push:
branches:
- 'develop'
- 'master'
- 'feature/**'
- 'bugfix/**'
- 'hotfix/**'
- 'release/**'

jobs:
build:

runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.7]

services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres
# Provide the password for postgres
env:
POSTGRES_DB: sasta
POSTGRES_USER: sasta
POSTGRES_PASSWORD: sasta
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
cd backend
python -m pip install --upgrade pip
yarn install-back
- name: Test with pytest
env:
# Provide PostgreSQL environment variables in order to default to TCP connection
PGDATABASE: sasta
PGHOST: localhost
PGPORT: ${{ job.services.postgres.ports['5432'] }}
PGUSER: sasta
PGPASSWORD: sasta
run: |
cd backend
yarn django migrate
yarn install-back
pytest
32 changes: 32 additions & 0 deletions .github/workflows/test-frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Frontend unit tests

on:
workflow_dispatch:
push:
branches:
- 'develop'
- 'master'
- 'feature/**'
- 'bugfix/**'
- 'hotfix/**'
- 'release/**'

jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Test Angular
run: |
cd frontend
yarn install --frozen-lockfile
yarn build-git
yarn test:ci
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes (beginning at version 0.2.0) to this project will be documen
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.8.1] - 2024-01-31
### Added
- Adhere to FAIR software principles

## [0.6.3] - 2023-05-12

### Added
Expand Down
45 changes: 45 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: SASTA
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Jelte
family-names: van Boheemen
email: [email protected]
affiliation: 'Centre for Digital Humanities, Utrecht University'
orcid: 'https://orcid.org/0000-0002-2802-3242'
- name: >-
Research Software Lab, Centre for Digital Humanities,
Utrecht University
city: Utrecht
country: NL
email: [email protected]
website: >-
https://cdh.uu.nl/centre-for-digital-humanities/research-software-lab/
- given-names: Odijk
family-names: Jan
email: [email protected]
affiliation: Utrecht University
orcid: 'https://orcid.org/0000-0003-3331-1182'
- given-names: Kroon
family-names: Martin S.
email: [email protected]
affiliation: Utrecht University
orcid: 'https://orcid.org/0000-0003-3059-6872'
identifiers:
- type: doi
value: 10.5281/zenodo.10600256
repository-code: 'https://github.com/UUDigitalHumanitieslab/sasta'
url: 'https://sasta.hum.uu.nl'
abstract: >-
SASTA is a tool for the analysis of spontaneous language
transcripts, to aid clinical linguists and research into
language development and language disorders.
license: BSD-3-Clause
version: 0.8.1
date-released: '2024-01-31'
Loading

0 comments on commit bd23bef

Please sign in to comment.