Skip to content

Commit

Permalink
Add Github Action for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nitmir committed Jul 26, 2023
1 parent 551ed93 commit 2519e72
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/github-actions.yml
@@ -0,0 +1,36 @@
name: policyd-rate-limit CI
run-name: ${{ github.actor }} is running policyd-rate-limit CI tests
on: [push]
jobs:
flake8:
runs-on: ubuntu-latest
container:
image: python:bookworm
steps:
- uses: actions/checkout@v3
- run: pip3 install -U -r requirements-dev.txt tox
- run: tox -e flake8
check_rst:
runs-on: ubuntu-latest
container:
image: python:bookworm
steps:
- uses: actions/checkout@v3
- run: pip3 install -U -r requirements-dev.txt tox
- run: tox -e check_rst
tests:
runs-on: ubuntu-latest
container:
image: python:bookworm
steps:
- uses: actions/checkout@v3
- run: pip3 install -U -r requirements-dev.txt tox
- run: tox -e py3
coverage:
runs-on: ubuntu-latest
container:
image: python:bookworm
steps:
- uses: actions/checkout@v3
- run: pip3 install -U -r requirements-dev.txt tox
- run: tox -e coverage

0 comments on commit 2519e72

Please sign in to comment.