Skip to content

Commit

Permalink
fix: test yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Mar 26, 2023
1 parent afddd53 commit e0c22b6
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on: ["push", "pull_request"]

name: Lint

concurrency:
# Cancel older, in-progress jobs from the same PR, same workflow.
# use run_id if the job is triggered by a push to ensure
# push-triggered jobs to not get canceled.
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
testing:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Run Pytest
run: pytest

0 comments on commit e0c22b6

Please sign in to comment.