Skip to content

Commit 59b518d

Browse files
committed
update CI
1 parent 0f17a28 commit 59b518d

File tree

1 file changed

+50
-5
lines changed

1 file changed

+50
-5
lines changed

.github/workflows/test.yml

Lines changed: 50 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,16 @@ jobs:
109109
with:
110110
virtualenvs-create: true
111111
virtualenvs-in-project: true
112+
- name: Install Emacs
113+
if: ${{ github.event.inputs.debug == 'on' }}
114+
run: |
115+
sudo apt install emacs
116+
- name: Setup tmate session
117+
if: ${{ github.event.inputs.debug == 'on' }}
118+
uses: mxschmitt/action-tmate@v3
119+
with:
120+
detached: true
121+
timeout-minutes: 60
112122
- name: Install Basic Dependencies
113123
run: |
114124
poetry config virtualenvs.in-project true
@@ -202,6 +212,16 @@ jobs:
202212
with:
203213
virtualenvs-create: true
204214
virtualenvs-in-project: true
215+
- name: Install Emacs
216+
if: ${{ github.event.inputs.debug == 'on' }}
217+
run: |
218+
sudo apt install emacs
219+
- name: Setup tmate session
220+
if: ${{ github.event.inputs.debug == 'on' }}
221+
uses: mxschmitt/action-tmate@v3
222+
with:
223+
detached: true
224+
timeout-minutes: 60
205225
- name: Install Dependencies
206226
run: |
207227
poetry config virtualenvs.in-project true
@@ -295,6 +315,16 @@ jobs:
295315
with:
296316
virtualenvs-create: true
297317
virtualenvs-in-project: true
318+
- name: Install Emacs
319+
if: ${{ github.event.inputs.debug == 'on' }}
320+
run: |
321+
sudo apt install emacs
322+
- name: Setup tmate session
323+
if: ${{ github.event.inputs.debug == 'on' }}
324+
uses: mxschmitt/action-tmate@v3
325+
with:
326+
detached: true
327+
timeout-minutes: 60
298328
- name: Install Dependencies
299329
run: |
300330
poetry config virtualenvs.in-project true
@@ -399,6 +429,16 @@ jobs:
399429
with:
400430
virtualenvs-create: true
401431
virtualenvs-in-project: true
432+
- name: Install Emacs
433+
if: ${{ github.event.inputs.debug == 'on' }}
434+
run: |
435+
sudo apt install emacs
436+
- name: Setup tmate session
437+
if: ${{ github.event.inputs.debug == 'on' }}
438+
uses: mxschmitt/action-tmate@v3
439+
with:
440+
detached: true
441+
timeout-minutes: 60
402442
- name: Install Dependencies
403443
run: |
404444
poetry config virtualenvs.in-project true
@@ -504,6 +544,16 @@ jobs:
504544
with:
505545
virtualenvs-create: true
506546
virtualenvs-in-project: true
547+
- name: Install Emacs
548+
if: ${{ github.event.inputs.debug == 'on' }}
549+
run: |
550+
sudo apt install emacs
551+
- name: Setup tmate session
552+
if: ${{ github.event.inputs.debug == 'on' }}
553+
uses: mxschmitt/action-tmate@v3
554+
with:
555+
detached: true
556+
timeout-minutes: 60
507557
- name: Install Oracle Client
508558
run: |
509559
curl --output oracle-client.rpm https://download.oracle.com/otn_software/linux/instantclient/2111000/oracle-instantclient-basiclite-21.11.0.0.0-1.el8.x86_64.rpm
@@ -520,11 +570,6 @@ jobs:
520570
poetry add django-filter@^${{ matrix.filter-version }} --optional
521571
poetry add djangorestframework@${{ matrix.drf-version }} --optional
522572
poetry install -E all --with oracle
523-
# - name: Setup tmate session
524-
# uses: mxschmitt/action-tmate@v3
525-
# with:
526-
# detached: true
527-
# timeout-minutes: 60
528573
- name: Run Full Unit Tests
529574
run: |
530575
poetry run pytest -s

0 commit comments

Comments
 (0)