Commit Graph

12 Commits

Author SHA1 Message Date
Derek Nola
1f7abe5dbb
Testing directory and documentation rework. (#5256)
* Removed vagrant folder
* Fix comments around E2E ENVs
* Eliminate testutil folder
* Convert flock integration test to unit test
* Point to other READMEs

Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-03-15 10:29:56 -07:00
Brad Davidson
08d538fb3a Update golang
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-12-22 10:47:38 -08:00
Jacob Blain Christen
c77efe64e1
tests/vagrant: refactor vagrant smoke tests (#4484)
- updated `tests/TESTING.md`
- cgroup, snapshotter, and install tests all under tests/vagrant
- cgroup and snapshotter workflows trigger for all code changes on all branches (excluding markdown docs, install script, and other vagrant tests)
- install workflow triggers for relevant script and fixture changes, only on master or pull-requests that target it
- integration and unit test workflows should not trigger for install script changes nor anything under tests/vagrant

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-11-15 11:50:38 -07:00
Jacob Blain Christen
52eb6cac1c
install.sh: initial support for sle-micro (#4331)
Support invoking install.sh on SLE Micro with or without SELinux
enabled. Same deal for SLES.

Additionally, easy-to-invoke assertions, via Vagrant, that the local
install.sh works correctly:
- tests/install/centos-7 (stand-in for rhel 7)
- tests/install/centos-8 (stand-in for rhel 8)
- tests/install/opensuse-leap (stand-in for sles)
- tests/install/opensuse-microos (stand-in for sle-micro)
- tests/install/ubuntu-focal

Addresses #3188
Addresses #3917

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-10-29 09:47:37 -07:00
Jacob Blain Christen
a9fce84ab6
github actions: enable workflow_dispatch (#3923)
Addresses #3922

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-08-26 23:40:06 -07:00
Derek Nola
21c8a33647
Introduction of Integration Tests (#3695)
* Commit of new etcd snapshot integration tests.
* Updated integration github action to not run on doc changes.
* Update Drone runner to only run unit tests

Signed-off-by: dereknola <derek.nola@suse.com>
2021-07-26 09:59:33 -07:00
Chris Wayne
71e1f1df8c
Ignore markdown files for github actions (#3676)
Signed-off-by: Chris Wayne <cwayne18@gmail.com>
2021-07-23 10:29:00 -04:00
Brad Davidson
6b3285b7e3 Fix coverage reporting to include all packages, not just those with tests
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-01 19:21:28 -07:00
Derek Nola
c833183517
Add unit tests for pkg/etcd (#3549)
* Created new etcd unit tests and testing support file

Signed-off-by: dereknola <derek.nola@suse.com>
2021-07-01 16:08:35 -07:00
Derek Nola
7242ce9316
Redux: Add Unit Test Coverage to CI (#3524)
* Added Github action to run unit tests and connect to Codecov

Signed-off-by: dereknola <derek.nola@suse.com>
2021-06-29 11:27:50 -07:00
Derek Nola
cf55712767
Revert "Add Unit Test Coverage to CI (#3494)" (#3499)
This reverts commit 216b3beaef.
2021-06-23 12:40:13 -07:00
Derek Nola
216b3beaef
Add Unit Test Coverage to CI (#3494)
* Added Github action to run unit tests and connect to Codecov

Signed-off-by: dereknola <derek.nola@suse.com>
2021-06-23 09:21:59 -07:00