Fix : hide http push security token in the subscribers api [SDESK-7093] #1786
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test" | |
on: [push, pull_request] | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.8', '3.10'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run: ./scripts/tests_setup | |
- run: pip install -U pip wheel setuptools | |
- run: pip install -r dev-requirements.txt | |
- run: pytest --log-level=ERROR --disable-warnings | |
pip-compile: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.8', '3.10'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run: pip install -U pip wheel setuptools pip-tools | |
- run: pip-compile -U --resolver=backtracking setup.py | |
behave: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.8', '3.10'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run: ./scripts/tests_setup | |
- run: pip install -U pip wheel setuptools | |
- run: pip install -r dev-requirements.txt | |
- run: behave --tags=-sams --format progress2 --logging-level=ERROR | |
behave-sams: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.8', '3.10'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run: ./scripts/tests_setup | |
- run: ./scripts/install-start-sams | |
- run: pip install -U pip wheel setuptools | |
- run: pip install -r dev-requirements.txt | |
- run: behave --tags=sams --format progress2 --logging-level=ERROR | |
prodapi: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.8', '3.10'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run: ./scripts/tests_setup | |
- run: pip install -U pip wheel setuptools | |
- run: pip install -r dev-requirements.txt | |
- run: pytest prod_api |