Created
February 9, 2023 10:26
-
-
Save alexdremov/6bdfca746293bfbcde59e3681126cf9a to your computer and use it in GitHub Desktop.
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: Task0 tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.9] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get install graphviz | |
python -m pip install --upgrade pip | |
pip install flake8 pytest pep8-naming | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Test with pytest | |
run: | | |
echo "Module 0" | |
pytest tests -x -k task0_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment