Skip to content

Commit

Permalink
lets try it out
Browse files Browse the repository at this point in the history
  • Loading branch information
jayceslesar committed Apr 6, 2024
1 parent 8ad7082 commit 93f133d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Python 3.11 Test

on:
pull_request:
branches:
- main

jobs:
test:
name: Test with Python 3.11
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: '3.11'

- name: Install pdm
run: |
python -m pip install --upgrade pip
python -m pip install pdm
- name: Install dependencies
run: pdm sync -G:all

- name: Run tests
run: pdm run pytest

0 comments on commit 93f133d

Please sign in to comment.