summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2021-06-30 11:27:35 +0200
committerGitHub <noreply@github.com>2021-06-30 11:27:35 +0200
commited4fd2a8e77df304539ca7f445a78039028eaa8a (patch)
treeae48b03370b11f3f0987676584724463ac83460d /.github
parent974edc2c98abf22b29598480c41f2505edef4dd1 (diff)
chore(tests): move all integration tests to be either unit or e2e tests - remove old testing infra (#589)
* tests(integration): move basic integration tests to be unit tests * fix(tests): silently fail threadbus for tests * tests(unit): move compatibility tests to become unit tests for grid * tests(unit): move close_pane tests to become unit tests for grid * tests(e2e): move basic layout test to e2e * tests(unit): move move_focus tests to be unit tests * tests(unit): move resize_down tests to be unit tests * tests(unit): move resize_left tests to be unit tests * tests(unit): move resize_right tests to be unit tests * tests(unit): move resize_up tests to be unit tests * tests(infra): remove unused infra * style(fmt): make rustfmt happy * debug * debug * debug * debug * chore(test): shift volume mounting around because github actions is a special child
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/e2e.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index a81d4ae61..640244a16 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -39,6 +39,11 @@ jobs:
run: cargo install --debug cargo-make
- name: Build asset
run: cargo make build-e2e
+ # we copy this manually into the target folder instead of mounting it because
+ # github actions creates the service first, and if it has a mount that is part
+ # of your yet unchecked out code, you cannot checkout the code after the mount
+ - name: Copy fixtures folder to target
+ run: cp -r ${{ github.workspace }}/src/tests/fixtures ${{ github.workspace }}/target
- name: Restart ssh container
# we need to do this because otherwise the volume will not be mounted
# on the docker container, since it was created before the folder existed