This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
fix: Replaced whitelist_externals with allowlist_externals in tox and removed tox-battery #1553
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: tox | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
python-version: ['3.8'] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- run: rm -f /etc/boto.cfg | |
- run: pip3 install --upgrade pip setuptools | |
- run: pip3 install 'tox' | |
- run: tox -- -n0 | |
- name: Run coverage | |
if: matrix.python-version == '3.8' | |
uses: codecov/codecov-action@v3 | |
with: | |
flags: unittests | |
fail_ci_if_error: true |