Merge pull request #29 from monocle2ai/kshitiz/add_aws_lambda_infra #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tox | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ "main" ] | |
schedule: | |
- cron: '18 8 * * 0' | |
jobs: | |
tox: | |
name: Run tox | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install tox | |
run: | | |
python -m pip install --user tox | |
- name: Run tox tests | |
run: python -m tox -c tox.ini | |
continue-on-error: true |