File tree 4 files changed +48
-24
lines changed
4 files changed +48
-24
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Check Branch'
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - base
7
+
8
+ jobs :
9
+ check_branch :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Check branch
13
+ if : github.head_ref != 'development'
14
+ run : |
15
+ echo "ERROR: You can only merge to base from the development branch."
16
+ exit 1
Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - development
7
+
8
+ jobs :
9
+ test :
10
+ runs-on : ubuntu-latest
11
+ strategy :
12
+ matrix :
13
+ python-version : ["3.10"]
14
+ toxenv : [py310, linting]
15
+
16
+ steps :
17
+ - name : Checkout code
18
+ uses : actions/checkout@v4
19
+
20
+ - name : Set up Python ${{ matrix.python-version }}
21
+ uses : actions/setup-python@v5
22
+ with :
23
+ python-version : ${{ matrix.python-version }}
24
+ cache : pip
25
+
26
+ - name : Install dependencies
27
+ run : pip install -r test_requirements.txt
28
+
29
+ - name : Run tox
30
+ run : tox
31
+ env :
32
+ TOXENV : ${{ matrix.toxenv }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
Helpers for Elasticsearch, including Analyzers and Documents.
4
4
5
- [ ![ Build Status] ( https://travis-ci.org/RockefellerArchiveCenter/rac_es.svg?branch=base )] ( https://travis-ci.org/RockefellerArchiveCenter/rac_es )
6
5
7
6
## Setup
8
7
You can’t perform that action at this time.
0 commit comments