mirror of
https://github.com/biojppm/rapidyaml.git
synced 2026-01-18 21:41:18 +01:00
Try to fix CI?
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
# ------------------------------------------------
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user