File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 conformance :
1111 runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ auth : [none, htpasswd]
15+ fail-fast : false
1216
1317 steps :
1418 - name : Checkout
3135 cd distribution-spec/conformance
3236 go test -c
3337
38+ - name : Setup auth
39+ run : |
40+ case "${{ matrix.auth }}" in
41+ none)
42+ echo "running with no authentication"
43+ ;;
44+ htpasswd)
45+ htpasswd -Bbc .htpasswd testuser testpass
46+ echo "AUTH__MODE=htpasswd" >> $GITHUB_ENV
47+ echo "AUTH__HTPASSWD__FILE=.htpasswd" >> $GITHUB_ENV
48+ echo "OCI_USERNAME=testuser" >> $GITHUB_ENV
49+ echo "OCI_PASSWORD=testpass" >> $GITHUB_ENV
50+ ;;
51+ esac
52+
3453 - name : Start sorcerer server
3554 run : |
3655 ./sorcerer &
6382 if : always()
6483 uses : actions/upload-artifact@v4
6584 with :
66- name : conformance-results
85+ name : conformance-results-${{ matrix.auth }}
6786 path : |
6887 distribution-spec/conformance/report.html
6988 distribution-spec/conformance/junit.xml
You can’t perform that action at this time.
0 commit comments