YDA-5566 - Added a check to see if user is already in SRAM collaboration before sending an invitation #324
Workflow file for this run
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: "Run unit tests" | |
on: | |
push: | |
paths-ignore: | |
- 'tests/**' | |
pull_request: | |
paths-ignore: | |
- 'tests/**' | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [2.7] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
# setup-python stopped supporting Python 2.7, use https://github.com/MatteoH2O1999/setup-python | |
uses: MatteoH2O1999/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
allow-build: info | |
cache-build: true | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements.txt | |
- name: Run unit tests | |
run: | | |
cd unit-tests | |
python2 -m unittest unit_tests |