Skip to content

Commit

Permalink
Move CI to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
caspervonb committed Jun 12, 2024
1 parent d952419 commit 80dcda6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, 3.10, 3.11, 3.12]

steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
pip install --dev
bash ./scripts/install_nats.sh
- name: Run tests
run: |
pipenv run flake8 --ignore=W391 ./nats/js/
pipenv run pytest -x -vv -s --continue-on-collection-error
env:
PATH: $HOME/nats-server:$PATH

0 comments on commit 80dcda6

Please sign in to comment.