Skip to content

Commit

Permalink
WIP CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sandre35 committed Jan 10, 2024
1 parent 5e07e34 commit 309df6f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 81 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,21 @@
name: Quality

on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0' # weekly
on: push

jobs:
build:
name: quality
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade black flake8
- name: Run checks
run: |
make quality
run: make quality
25 changes: 8 additions & 17 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Tests

on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0' # weekly
on: push

jobs:
build:
Expand All @@ -30,26 +26,21 @@ jobs:
strategy:
matrix:
python-version:
- 3.8
- 3.9
- 3.10
- 3.11
- 3.12
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
django:
- django32
- django41
- django42
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
Expand Down
49 changes: 0 additions & 49 deletions .travis.yml

This file was deleted.

0 comments on commit 309df6f

Please sign in to comment.