Skip to content

Friend system draft #495

Friend system draft

Friend system draft #495

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: build
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
services:
mysql:
image: mysql:8.0
env:
MYSQL_DATABASE: test
MYSQL_USER: testuser
MYSQL_PASSWORD: testpassword
MYSQL_ROOT_PASSWORD: rootpassword
ports: ['3306:3306']
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: |
python -m pip install --upgrade pip
pip install pylint
pip install -r requirements.txt
- name: Run pytest
run: |
cd test
pytest