aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJun Aruga <jaruga@redhat.com>2023-04-17 19:05:48 +0200
committerJun Aruga <jaruga@redhat.com>2023-06-01 12:22:28 +0200
commit8149cdf6e874214f9349f1f236b003d9239228f9 (patch)
treea146c6bed631ab9547ad277fdbaeab1b0ac026e4 /.github
parentab92baff34097fbb9e74815eab1b72185b250cc6 (diff)
downloadruby-openssl-8149cdf6e874214f9349f1f236b003d9239228f9.tar.gz
CI: Add the test/openssl/test_pkey.rb on the FIPS mode case.
It's to test the `OpenSSL::PKey.read` in the `test/openssl/test_pkey.rb`. I added the pending status to the following tests failing on the FIPS mode case in the `test/openssl/test_pkey.rb`. * `test_ed25519` * `test_x25519` * `test_compare?`
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index becf9902..f60f99be 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -149,5 +149,7 @@ jobs:
# Run only the passing tests on the FIPS mode as a temporary workaround.
# TODO Fix other tests, and run all the tests on FIPS mode.
- name: test on fips mode
- run: ruby -Ilib test/openssl/test_fips.rb
+ run: |
+ ruby -I./lib -ropenssl \
+ -e 'Dir.glob "./test/openssl/{test_fips.rb,test_pkey.rb}", &method(:require)'
if: matrix.fips_enabled