forked from biocypher/biocypher
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 1.22 KB
/
tests_and_code_quality.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Tests and code quality
on:
push:
branches:
- "*"
workflow_call:
jobs:
tests_and_code_quality:
runs-on: ubuntu-latest
steps:
#----------------------------------------------
# checkout repo and set-up python and poetry
#----------------------------------------------
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Python and Poetry
uses: ./.github/actions/setup
#----------------------------------------------
# install dependencies
#----------------------------------------------
- name: Install dependencies
uses: ./.github/actions/install
#----------------------------------------------
# run tests and code quality checks
#----------------------------------------------
- name: Run tests
uses: ./.github/actions/test
with:
NEO4J_VERSION: "4.4-enterprise"
#----------------------------------------------
# generate test coverage badge
#----------------------------------------------
- name: Generate test coverage badge
uses: ./.github/actions/test_coverage
with:
token: ${{ secrets.GITHUB_TOKEN }}
if: github.ref == 'refs/heads/main'