Skip to content

Commit

Permalink
windows.yml: idempotence test - comment out
Browse files Browse the repository at this point in the history
Comment out the broken parts of the idempotence test.
  • Loading branch information
jan-revay authored Mar 11, 2024
1 parent d59a05b commit f59069c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,16 @@ jobs:
- name: Create a directory for temporary files
shell: pwsh
run: mkdir C:/tmp
- name: save C:/Users for idempotency test
run: cp -Recurse C:/Users C:/tmp # TODO this will probably fail
# - name: save C:/Users for idempotency test
# run: cp -Recurse C:/Users C:/tmp # TODO this will currently fails with:
# 2 | cp -Recurse C:/Users C:/tmp
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | Access to the path 'C:\Users\All Users\Application Data' is denied.
- name: "Running `run_all.ps1` script for the 2nd time should not fail."
shell: pwsh
run: .\Windows_1X\run_all.ps1
- name: Running `optional_packages_install.ps1` script for the 2nd time should not fail.
shell: pwsh
run: .\Windows_1X\optional_packages_install.ps1
# - name: "The `run_all.ps1` script should be idempotent on C:/Users directory (WIP - needs testing)"
# TODO

# TODO add idempotence test
# TODO finish the idempotence test

0 comments on commit f59069c

Please sign in to comment.