Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scheduled tests. #104

Merged
merged 48 commits into from
Oct 10, 2023
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
2a2b4f0
Add scheduled tests.
everaldorodrigo Sep 25, 2023
3c80382
Add scheduled tests.
everaldorodrigo Sep 25, 2023
bf34187
Add scheduled tests.
everaldorodrigo Sep 26, 2023
919d189
Add scheduled tests.
everaldorodrigo Sep 26, 2023
c345d15
Add scheduled tests.
everaldorodrigo Sep 26, 2023
480efb1
Add scheduled tests.
everaldorodrigo Sep 26, 2023
9314644
Add scheduled tests.
everaldorodrigo Sep 26, 2023
36ffab1
Get pytest report content.
everaldorodrigo Oct 6, 2023
2c33f92
Get pytest report content.
everaldorodrigo Oct 6, 2023
0e3429c
Use HTTP GET method to get metadata version.
everaldorodrigo Oct 6, 2023
a8bb7d7
Force run tests.
everaldorodrigo Oct 6, 2023
8a6f3e9
Use HTTP GET method to get metadata version.
everaldorodrigo Oct 6, 2023
8986409
Use HTTP GET method to get metadata version.
everaldorodrigo Oct 6, 2023
dc4ff5d
Use HTTP GET method to get metadata version.
everaldorodrigo Oct 6, 2023
eb0373a
Use HTTP GET method to get metadata version.
everaldorodrigo Oct 6, 2023
fba589b
Use HTTP GET method to get metadata version.
everaldorodrigo Oct 6, 2023
c6ddafe
Use HTTP GET method to get metadata version.
everaldorodrigo Oct 6, 2023
d545e96
Get metadata version.
everaldorodrigo Oct 6, 2023
96576c4
Get pytest resport.
everaldorodrigo Oct 6, 2023
65aa8ce
Get pytest resport.
everaldorodrigo Oct 7, 2023
286218a
Get pytest resport.
everaldorodrigo Oct 7, 2023
15799d6
Get pytest resport.
everaldorodrigo Oct 7, 2023
eccc7cc
Get pytest report info.
everaldorodrigo Oct 9, 2023
7bd8d9f
Get pytest report info.
everaldorodrigo Oct 9, 2023
8e3e10c
Get pytest report info.
everaldorodrigo Oct 9, 2023
0852b48
Get pytest report info.
everaldorodrigo Oct 9, 2023
6f9f119
Store metadata version.
everaldorodrigo Oct 9, 2023
15cbb9e
Store metadata version.
everaldorodrigo Oct 9, 2023
241f3f7
Store metadata version.
everaldorodrigo Oct 9, 2023
a40db23
Store metadata version.
everaldorodrigo Oct 9, 2023
ce42593
Store metadata version.
everaldorodrigo Oct 9, 2023
5e094a3
Store metadata version.
everaldorodrigo Oct 9, 2023
fed4149
Store metadata version.
everaldorodrigo Oct 9, 2023
e082ccb
Store metadata version.
everaldorodrigo Oct 9, 2023
1ba1b79
Store metadata version.
everaldorodrigo Oct 9, 2023
2fed3ca
Store metadata version.
everaldorodrigo Oct 9, 2023
c1cd56b
Store metadata version.
everaldorodrigo Oct 9, 2023
22a547d
Store metadata version.
everaldorodrigo Oct 9, 2023
ff4d7a2
Store metadata version.
everaldorodrigo Oct 9, 2023
82b94f8
Store metadata version.
everaldorodrigo Oct 9, 2023
6c6dcc8
Store metadata version.
everaldorodrigo Oct 9, 2023
3725e6f
Store metadata version.
everaldorodrigo Oct 9, 2023
0ed965d
Store metadata version.
everaldorodrigo Oct 9, 2023
08f7944
Store metadata version.
everaldorodrigo Oct 9, 2023
c7cff19
Enable schedule trigger.
everaldorodrigo Oct 10, 2023
cbb78b9
Enable schedule trigger.
everaldorodrigo Oct 10, 2023
69ed61b
Enable schedule trigger.
everaldorodrigo Oct 10, 2023
8216952
Enable schedule trigger.
everaldorodrigo Oct 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/scheduled_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Scheduled Tests

on:
schedule:
- cron: '0 */3 * * *'

jobs:
run_app_tests:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
python-version: [ "3.11" ]

steps:
- name: Checkout source
uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Upgrade pip
run: pip install --upgrade pip

- name: Install dependencies
run: pip install -r requirements_web.txt

- name: Install pytest
run: pip install pytest

- name: Install pytest-slack
run: pip install pytest-slack

- name: Run pytest and generate report
run: pytest src/tests/test_remote.py --slack_hook=${{ secrets.SLACK_WEBHOOK_URL }} --slack_channel=observability-test
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
Loading