Skip to content

Commit e064353

Browse files
committed
chore(ci): run SOPS decrypt step in all workflows
1 parent 1ef243a commit e064353

File tree

1 file changed

+0
-58
lines changed

1 file changed

+0
-58
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +0,0 @@
1-
name: test
2-
3-
on:
4-
push:
5-
branches:
6-
- main
7-
- dev
8-
paths-ignore:
9-
- '**/*.md'
10-
- '**/*.ipynb'
11-
- 'examples/**'
12-
pull_request:
13-
branches:
14-
- main
15-
- dev
16-
paths-ignore:
17-
- '**/*.md'
18-
- '**/*.ipynb'
19-
- 'examples/**'
20-
21-
jobs:
22-
test:
23-
name: Tests on ${{ matrix.os }} for ${{ matrix.python-version }}
24-
strategy:
25-
matrix:
26-
python-version: [3.9]
27-
os: [ubuntu-latest]
28-
runs-on: ${{ matrix.os }}
29-
timeout-minutes: 10
30-
steps:
31-
- uses: actions/checkout@v4
32-
- name: Set up Python ${{ matrix.python-version }}
33-
uses: actions/setup-python@v3
34-
with:
35-
python-version: ${{ matrix.python-version }}
36-
- name: Install dependencies
37-
run: |
38-
python -m pip install --upgrade pip
39-
pip install -r requirements.txt
40-
pip install -r requirements-dev.txt
41-
- name: Lint with flake8
42-
run: |
43-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
44-
- name: Build and Test
45-
env:
46-
NANO_GRAPHRAG_TEST_IGNORE_NEO4J: true
47-
run: |
48-
python -m pytest -o log_cli=true -o log_cli_level="INFO" --cov=nano_graphrag --cov-report=xml -v ./
49-
- name: Check codecov file
50-
id: check_files
51-
uses: andstor/file-existence-action@v1
52-
with:
53-
files: './coverage.xml'
54-
- name: Upload coverage from test to Codecov
55-
uses: codecov/codecov-action@v2
56-
with:
57-
file: ./coverage.xml
58-
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)