1
0
Fork 0
mirror of synced 2024-11-05 00:28:57 -05:00
Commit graph

7 commits

Author SHA1 Message Date
Anish Athalye
d7629553bd Switch to GitHub Actions 2020-12-18 15:34:15 -05:00
Anish Athalye
6d24613b0b Unify Vagrant and Travis-CI tests
This patch makes the tests (including the test driver) run entirely
inside Vagrant, which avoids calling the very slow `vagrant` driver many
times for running the tests. On my machine, `./test` runs in 22 seconds,
down from hundreds of seconds prior to this patch.

This also has the nice side effect of matching how the Travis CI tests
were run, so there's no need for a separate `test_travis` anymore.
2020-01-03 15:34:46 -05:00
Anish Athalye
b7022f4abb Speed up Vagrant tests
This patch removes the snapshot/rollback system for the tests and
replaces it with a simple cleanup script that removes the appropriate
files from the VM's $HOME before every test. A side benefit is that
there is no more dependency on the Sahara plugin.

The cleanup script may not provide as good isolation between independent
tests as the previous setup, but it is orders of magnitude faster to run
without a VM rollback for every single test, and it does not break any
of the current tests.
2018-03-27 20:56:55 -04:00
Anish Athalye
5babc8f562 Add ability to test with specific Python versions 2015-10-22 22:08:35 -04:00
Anish Athalye
53c26ba9e6 Clean up code 2015-05-06 10:38:58 -04:00
Anish Athalye
b0d09b7047 Make driver display file names of tests 2015-05-06 10:04:32 -04:00
Anish Athalye
eeab507d15 Add testing framework and tests 2015-05-05 20:11:46 -04:00