Skip to content

Commit

Permalink
github: rename matrix to environment
Browse files Browse the repository at this point in the history
Also drop the params, they should not be part of the matrix

(cherry picked from commit af8a08d)
  • Loading branch information
razvancrainea committed Nov 24, 2023
1 parent 91594af commit 06a0c52
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 19 deletions.
1 change: 0 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ jobs:
uses: ./sipssert/actions/Run_Test
with:
test_set: ${{ matrix.test_set }}
params: ${{ matrix.params }}
21 changes: 21 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
os:
- ubuntu-latest
test_set:
- accounting
- auth
- b2b
- dialog
- permissions
- presence
- record-route
- registration
- startup
- stir-shaken
- topology-hiding
- uac-auth
params:
- --exclude b2b/09.refer-unattended-uac-notify-fail
- --exclude b2b/10.refer-unattended-uas-notify-fail
- --exclude b2b/15.refer-unattended-uac-prov-notify-fail
- --exclude b2b/16.refer-unattended-uas-prov-notify-fail
- --exclude topology-hiding/02.th-no-dialog-username
17 changes: 0 additions & 17 deletions matrix.yml

This file was deleted.

2 changes: 1 addition & 1 deletion run-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

yaml_list() {
test -n "${BASH_SOURCE[0]}" && DIR="$(dirname "${BASH_SOURCE[0]}")" || DIR=.
python3 -c "import yaml;print(' '.join(yaml.safe_load(open('$DIR/matrix.yml'))['$1']))"
python3 -c "import yaml;print(' '.join(yaml.safe_load(open('$DIR/environment.yml'))['$1']))"
}

# exclude tests that we know they fail for sure
Expand Down

0 comments on commit 06a0c52

Please sign in to comment.