Skip to content

Commit

Permalink
Add actions pipeline (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfowl authored Oct 1, 2024
1 parent 1c0aeb0 commit 630a06d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: RapiDAST

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

permissions:
contents: read

jobs:
test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python3 -m ensurepip --upgrade
pip install --no-cache-dir -r requirements.txt -r requirements-dev.txt
- name: Test with pytest
run: |
pytest
- name: Lint with pre-commit hook
continue-on-error: true # XXX temporary, until all code linted
run: |
pre-commit run --all-files

0 comments on commit 630a06d

Please sign in to comment.