Skip to content

Commit

Permalink
Add new workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikatsay authored and jjleng committed Apr 20, 2024
1 parent 539f453 commit 4992819
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/pull-request-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Run tests on pr"

run-name: ${{ github.actor }} has create a pull request 💻

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"

- name: Install poetry
run: pip3 install poetry

- name: Install dependencies
run: poetry install

- name: Test with pytest
run: make test

0 comments on commit 4992819

Please sign in to comment.