Skip to content

Commit

Permalink
add a workflow for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DOCtorActoAntohich committed Sep 26, 2023
1 parent 3b7fec7 commit e6fe521
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Semgrep Tests
on: [push]

jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
- name: Install dependencies
run: poetry install --no-interaction --no-root
- name: Run tests
run: make test

0 comments on commit e6fe521

Please sign in to comment.