Skip to content

Commit

Permalink
build: rename test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobi-De committed Dec 18, 2023
1 parent 926c92d commit 0b5e1ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,19 @@
name: Run tests
name: Continous Integration - Testing

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install hatch
run: |
python -m pip install --upgrade pip
pip install -r tests/requirements.txt
pip install hatch
- name: Test with pytest
run: |
pytest
hatch run pytest
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<p>The toolkit for a better django development experience</p>
</h1>

[![CD](https://github.com/Tobi-De/falco/actions/workflows/deploy.yml/badge.svg)](https://github.com/Tobi-De/falco/actions/workflows/deploy.yml)
[![documentation](https://github.com/Tobi-De/falco/actions/workflows/documentation.yml/badge.svg)](https://github.com/Tobi-De/falco/actions/workflows/documentation.yml)
[![CI](https://github.com/Tobi-De/falco/actions/workflows/test.yml/badge.svg)](https://github.com/Tobi-De/falco/actions/workflows/test.yml)
[![pypi](https://badge.fury.io/py/falco-cli.svg)](https://pypi.org/project/falco-cli/)
[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)
Expand Down Expand Up @@ -36,14 +36,15 @@ pip install falco-cli
- `work`: Run your whole django projects in one command.
- `htmx`: Download the latest version (if no version is specified) of htmx.
- `htmx-ext`: Download one of htmx extensions.
- `sync-dotenv`: Synchronize the .env file with the .env.template file.
- `sync-dotenv`: Synchronize the `.env` file with the `.env.template` file.
- `rm-migrations`: Remove all migrations for the specified applications directory, intended only for development.


### The guides

> [!NOTE]
> These are currently a work in progress. Most of them are half-written or not written at all. I hope > to get them in a usable state by the end of the year.
> These are currently a work in progress. Most of them are half-written or not written at all. I hope
> to get them in a usable state by the end of the year.
If you don't find any use of the CLI, I hope you will in these guides. This is a collection of guides that address common issues in web development, specifically tailored to Django. Each guide provides solutions, patterns, and approaches that are relevant to Django projects. It is similar to the [Django topic guides](https://docs.djangoproject.com/en/5.0/topics/), but instead of focusing on components of the framework like `forms`, `models`, `views`, etc., it focuses on more general topics like `task queues`, `deployment`, `realtime`, etc.

Expand Down

0 comments on commit 0b5e1ac

Please sign in to comment.