Skip to content

Commit

Permalink
added Python test matrix (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
willarmiros authored Apr 28, 2023
1 parent fa3afc3 commit fadd739
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: ${{ matrix.python-version }}
- uses: snok/install-poetry@v1
with:
virtualenvs-create: true
Expand Down
7 changes: 4 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ If you're looking for documentation on how to use NB Defense, you can find that

Thanks for contributing! In order to open a PR into the NB Defense project, you'll have to follow these steps:

1. Fork the repo
2. Make your changes
3. Submit a pull request
1. Fork the repo and clone your fork locally
2. Run `make install-dev` from the root of your forked repo to setup your environment
3. Make your changes
4. Submit a pull request

After these steps have been completed, someone on our team at Protect AI will review the code and help merge in your changes!

0 comments on commit fadd739

Please sign in to comment.