Skip to content

Add detected secrets #70

Add detected secrets

Add detected secrets #70

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 4
matrix:
include:
- python-version: '3.8'
requirements: django_3_2
tox_env: py38-django32
- python-version: '3.9'
requirements: django_3_2
tox_env: py39-django32
- python-version: '3.10'
requirements: django_3_2
tox_env: py310-django32
- python-version: '3.11'
requirements: django_3_2
tox_env: py311-django32
- python-version: '3.8'
requirements: django_4_1
tox_env: py38-django41
- python-version: '3.9'
requirements: django_4_1
tox_env: py39-django41
- python-version: '3.10'
requirements: django_4_1
tox_env: py310-django41
- python-version: '3.11'
requirements: django_4_1
tox_env: py311-django41
- python-version: '3.8'
requirements: django_4_2
tox_env: py38-django42
- python-version: '3.9'
requirements: django_4_2
tox_env: py39-django42
- python-version: '3.10'
requirements: django_4_2
tox_env: py310-django42
- python-version: '3.11'
requirements: django_4_2
tox_env: py311-django42
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install pip-tools
pip-compile examples/requirements/${{ matrix.requirements }}.in
pip install -r examples/requirements/${{ matrix.requirements }}.txt
pip-compile examples/requirements/test.in
pip install -r examples/requirements/test.txt
- name: Run Tests
run: tox -e ${{ matrix.tox_env }}
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
parallel: true
flag-name: Run Tests
coveralls_finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
uses: AndreMiras/coveralls-python-action@develop
with:
parallel-finished: true
debug: True