Commit graph

5 commits

Author SHA1 Message Date
Christian Kellner
a2cbed0ceb tests: copy on write checks for objectstore.Object
Verify the copy on write semantics of `objectstore.Object`, i.e.
content will only be copied at the moment a client wants to write
to `Object`. This also checks that `Object.base` works.

Modify the CI to execute the unit tests in a privileged container
because `Object.read()` works internally by bind mounting a path.
The mount operation needs at least CAP_SYS_ADMIN and overwriting
the file permissions CAP_DAC_OVERRIDE.
2020-02-28 16:11:49 +01:00
Lars Karlitski
294431ace1 test: add test for host detection
Includes a test for each of the runners we currently have, except for
fedora27, which is (hopefully) not used as a host OS anymore.
2020-02-28 16:06:30 +01:00
Major Hayden
7d53835bba 🤦‍♂️ Restore the Fedora modularity workaround
Signed-off-by: Major Hayden <major@redhat.com>
2020-02-27 20:19:51 +01:00
Major Hayden
4b2089bbf6 🌮 Merge GitHub Actions workflows
A single workflow allows us to re-use artifacts throughout all jobs.

Also, we can fail the tests early if there's a linting issue before
we spend time waiting for RPMs to build.

Signed-off-by: Major Hayden <major@redhat.com>
2020-02-27 19:59:03 +01:00
Major Hayden
4c92b7a28b Run unit tests in GitHub Actions
Rename `lint.yml` to `tests.yml` to allow us to put more jobs under the
same test name.

Signed-off-by: Major Hayden <major@redhat.com>
2020-02-25 20:16:49 +01:00
Renamed from .github/workflows/lint.yml (Browse further)