Skip to content

Commit

Permalink
ci: actually, use pdm
Browse files Browse the repository at this point in the history
  • Loading branch information
thearchitector committed Nov 26, 2023
1 parent 14cb9bf commit eee8d6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 28 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,6 @@ name: CI
on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.7"
- run: python3 -m pip install mypy
- name: Check typing
run: mypy --pretty .
- name: Check formatting
uses: chartboost/ruff-action@v1
with:
args: check --target-version=py37

test:
runs-on: ubuntu-latest
strategy:
Expand All @@ -43,13 +28,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache: true
- name: Install dependencies
run: pip install -r requirements.txt
run: pdm install -G :all --global -p . --no-lock
- name: Run tests
run: pytest
env:
Expand Down
9 changes: 0 additions & 9 deletions requirements.txt

This file was deleted.

0 comments on commit eee8d6f

Please sign in to comment.