Skip to content

Commit

Permalink
Add Django version to CI step and clean up old files
Browse files Browse the repository at this point in the history
  • Loading branch information
samamorgan committed Jan 5, 2024
1 parent 7bad8a5 commit a23a5fa
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 80 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: CI

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
get-python-versions:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -47,5 +51,9 @@ jobs:
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --with test --no-interaction --no-root

- name: Run Tests
- name: Get Django version
id: django-version
run: echo "version=$(poetry run django-admin --version)" >> $GITHUB_OUTPUT

- name: Run Tests (Django ${{ steps.django-version.outputs.version }})
run: poetry run pytest
49 changes: 0 additions & 49 deletions .travis.yml

This file was deleted.

4 changes: 0 additions & 4 deletions MANIFEST.in

This file was deleted.

26 changes: 0 additions & 26 deletions README.rst

This file was deleted.

0 comments on commit a23a5fa

Please sign in to comment.