Skip to content

Instantly share code, notes, and snippets.

@alexdremov
Created February 9, 2023 10:26
Show Gist options
  • Save alexdremov/6bdfca746293bfbcde59e3681126cf9a to your computer and use it in GitHub Desktop.
Save alexdremov/6bdfca746293bfbcde59e3681126cf9a to your computer and use it in GitHub Desktop.
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