Try to fix CI?

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
Keith Rothman
2021-01-08 17:00:22 -08:00
parent 54c09fd1a0
commit 881da6fdd9
3 changed files with 4 additions and 8 deletions

View File

@@ -539,7 +539,7 @@ jobs:
- {bt: Release, os: ubuntu-18.04}
- {bt: Release, os: windows-2019}
env: {STD: "${{matrix.std}}", CXX_: "${{matrix.cxx}}", BT: "${{matrix.bt}}", BITLINKS: "${{matrix.bitlinks}}", VG: "${{matrix.vg}}", SAN: "${{matrix.san}}", LINT: "${{matrix.lint}}", OS: "${{matrix.os}}",
API: ON, CMAKE_FLAGS: "-DRYML_DEV=OFF -DRYML_BUILD_API=ON -DRYML_API_TESTS=ON -DRYML_API_BENCHMARKS=ON"}
API: ON, CMAKE_FLAGS: "-DRYML_DEV=OFF -DRYML_BUILD_API=ON -DRYML_API_TESTS=ON -DRYML_API_BENCHMARKS=OFF"}
steps:
- {name: checkout, uses: actions/checkout@v2, with: {submodules: recursive}}
- {name: install requirements, run: source .github/reqs.sh && c4_install_test_requirements $OS}
@@ -560,11 +560,6 @@ jobs:
source .github/setenv.sh
source env/bin/activate
c4_build_target shared64 ryml-api-test-python3
- name: api-shared64-python-benchmark
run: |
source .github/setenv.sh
source env/bin/activate
c4_build_target shared64 ryml-api-bm-python3
#----------------------------------------------------------------------------
# useful to iterate when fixing the release

View File

@@ -27,7 +27,7 @@ class TestSubstrInterop(unittest.TestCase):
def test12_str2substr(self):
s = ""
with self.assertRaises(TypeError) as context:
c = ryml.as_substr(s)
_ = ryml.as_substr(s)
self.assertTrue(type(context.exception), TypeError)
# ------------------------------------------------
@@ -50,7 +50,7 @@ class TestSubstrInterop(unittest.TestCase):
def test22_bytes2substr(self):
s = b"foo22"
with self.assertRaises(TypeError) as context:
c = ryml.as_substr(s)
_ = ryml.as_substr(s)
self.assertTrue(type(context.exception), TypeError)
# ------------------------------------------------

View File

@@ -1,4 +1,5 @@
ruamel.yaml
ninja
pyyaml
prettytable
git+git://github.com/litghost/cmake-build-extension.git@add_support_for_components#egg=cmake-build-extension