Skip to content

Commit

Permalink
Update GitHub Actions (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanluoyc authored Feb 12, 2024
1 parent 1d91976 commit c7fb78c
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ concurrency:
group: test-${{ github.head_ref }}
cancel-in-progress: true

env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"

jobs:
run:
name: Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }}
Expand All @@ -25,16 +21,13 @@ jobs:
python-version: ['3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: Install PDM
run: python -m pip install pdm
cache: true

- name: Install dependencies
run: pdm install
Expand Down

0 comments on commit c7fb78c

Please sign in to comment.