-
Notifications
You must be signed in to change notification settings - Fork 75
40 lines (34 loc) · 1010 Bytes
/
src-atom-tests.yaml
File metadata and controls
40 lines (34 loc) · 1010 Bytes
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: src/django atom tests
on:
push:
branches:
- '**'
paths:
- '.github/workflows/src-atom-tests.yaml'
- 'src/django/**'
schedule:
- cron: '0 3 1 * *' # First day of the month at 3 a.m.
jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: test - curl
run: |
set -eo pipefail
cd src/django
bash app/scripts/atom-tests-curl.sh
- name: debug
if: failure()
run: |
docker ps -a | grep -v CONTAINER | cut -d' ' -f1 | xargs -I{} -r bash -c "docker container stats --no-stream {} ; docker logs {}"
- name: test - e2e
run: |
set -eo pipefail
cd src/django
bash app/scripts/atom-tests-e2e.sh
- name: debug
if: failure()
run: |
docker ps -a | grep -v CONTAINER | cut -d' ' -f1 | xargs -I{} -r bash -c "docker container stats --no-stream {} ; docker logs {}"