Project

General

Profile

Feature #1582

GitHub test actions

Added by Alexander Watzinger about 1 month ago. Updated about 1 month ago.

Status:
In Progress
Priority:
Low
Category:
Backend
Target version:
Start date:
2021-09-21
Estimated time:

Description

I'm looking into GitHub actions to automatically test the application when pushing. First I try it with the OpenAtlas Website repository (feature_testing branch) because the application is much simpler, e.g. has no database, user authentication, ...
Once I manage to get it running I will try to:
  • Make passing tests required for main and develop branch, reject push if test fails
  • Add coverage
  • Add icons for passed test, coverage on GitHub page
  • Adapt it for OpenAtlas

History

#1

Updated by Alexander Watzinger about 1 month ago

So far I got it running somehow but got stuck because of an import module flask error. I'm not sure but it may be related to have to use Ubuntu (instead Debian) on the GitHub test systems.

#2

Updated by Alexander Watzinger about 1 month ago

  • Description updated (diff)
#3

Updated by Alexander Watzinger about 1 month ago

Example of another project with coverage by Peter: https://github.com/acdh-oeaw/mmp/blob/master/.github/workflows/test.yml

#4

Updated by Alexander Watzinger about 1 month ago

  • Description updated (diff)

Also available in: Atom PDF