Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

README.md: add link to the new repository url #225

README.md: add link to the new repository url

README.md: add link to the new repository url #225

Workflow file for this run

name: Test
on: [push, pull_request]
env:
DJANGO_WATCHMAN_TIMEOUT: 30
jobs:
lint:
name: Lint with flake8 and reuse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: 3.11
- name: Run Flake8
run: |
python -m pip install flake8
flake8
unittest:
name: Unittest
timeout-minutes: 15
strategy:
matrix:
python: [3.11, 3.12]
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Run tests using unittest
run: "./manage.py --squad-host http://localhost:9000 test -v"
docker-test:
name: Run tests in docker and build release image
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Build docker image
run: |
git fetch --unshallow
docker build -t squad-client .