Commit Graph
13 Commits
Author SHA1 Message Date
Castulo Martinez c6fdf51f39 Rebalancing tests for github actions
Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-01-29 12:03:28 -08:00
Karthik Prabhu Vinod 79c33d1957 Swupd info: Add functional tests
Closes: #1124

Signed-off-by: Karthik Prabhu Vinod <karthik.prabhu.vinod@intel.com>
2020-01-10 15:25:09 -08:00
Castulo Martinez 24f60f2673 Rebalancing functional tests
This commit separates the 3rd-party tests in their own job since we will
be adding several tests related to 3rd-party in the upcoming days.

This commit also rebalances the tests in the update groups so they are
better balanced.

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2019-11-25 15:13:17 -08:00
Otavio Pontes ac41246a81 3rd_party: Group all 3rd-party repo operations tests
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
2019-11-21 16:34:46 -08:00
Otavio Pontes b3771c9491 actions: Test make distcheck on github actions
Distcheck is light now, so adding it to github actions to make sure
we aren't breaking the build on a dist package

Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
2019-11-19 12:05:40 -08:00
Otavio Pontes 50327fc9d3 Makefile: Change behavior of make check
Now make check is only running unit tests and a new target,
functional-check is used for bat tests. The major win on that
was that now we can use find to look for all bat tests in the
functional library and we don't need to keep the BATS list
updated.

Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
2019-11-18 15:48:10 -08:00
Otavio Pontes 5872472b45 actions: Set a timeout of 1 hour to github jobs
Github job timeout is 6 hours, but we are sure that any job will take around
20~30 minutes to run. Set a one hour timeout to make sure that hung jobs aren't
going to be blocking us for a long time.

Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
2019-11-13 13:22:28 -08:00
Otavio Pontes d175af3fd5 test: Don't conflict config tests with other tests
Always save the config file in another directory so we won't have
problems on running the config tests in parallel. Before this patch
if you run the config tests in parallel with any other tests you could
end up having false-negatives.

Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
2019-11-12 13:15:24 -08:00
Otavio Pontes ad1851e7cc actions: Run tests that are set to run only on CI
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
2019-11-11 16:26:46 -08:00
Otavio Pontes 9428d78ac6 actions: Split bat tests in multiple jobs to run in parallel
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
2019-11-11 16:26:46 -08:00
Otavio Pontes 019a90819c actions: Build dependencies to support swupd builds
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
2019-11-11 16:26:46 -08:00
Otavio Pontes ca2740ba00 actions: Run action on pull request
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
2019-11-06 12:28:06 -08:00
Otavio Pontes b4df05c3fd Add github actions integration 2019-11-06 12:05:26 -08:00