mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-19 16:28:12 +03:00
CI: try another workaround
This commit is contained in:
parent
3fafcb3782
commit
773fe0a956
17
.github/workflows/harness.yml
vendored
17
.github/workflows/harness.yml
vendored
@ -99,11 +99,8 @@ jobs:
|
||||
run: |
|
||||
cd /home/ocaml/catala
|
||||
opam exec -- clerk report --xml _build/*@test _build/test-*/*@test >report.junit.xml
|
||||
- name: Workaround Github stuff # https://github.com/actions/checkout/issues/1014
|
||||
if: ${{ always() }}
|
||||
run: sudo chmod +w -R /__w
|
||||
- name: Test Summary
|
||||
uses: test-summary/action@v2
|
||||
uses: test-summary/action@v1
|
||||
with:
|
||||
paths: /home/ocaml/catala/report.junit.xml
|
||||
if: ${{ always() }}
|
||||
@ -149,11 +146,8 @@ jobs:
|
||||
run: |
|
||||
cd ~/catala-examples
|
||||
opam exec -- clerk report --xml _build/*@test _build/test-*/*@test >report.junit.xml
|
||||
- name: Workaround Github stuff # https://github.com/actions/checkout/issues/1014
|
||||
if: ${{ always() }}
|
||||
run: sudo chmod +w -R /__w
|
||||
- name: Test Summary
|
||||
uses: test-summary/action@v2
|
||||
uses: test-summary/action@v1
|
||||
with:
|
||||
paths: /home/ocaml/catala-examples/report.junit.xml
|
||||
if: ${{ always() }}
|
||||
@ -193,7 +187,12 @@ jobs:
|
||||
cp catala-examples/_build/french_law_python.tar.gz artifacts/
|
||||
mv catala/website-assets.tar.gz artifacts/
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
# See the following to switch to a later upload-artifact version:
|
||||
# continue-on-error: true
|
||||
# Uploading artifacts works but then return failure with:
|
||||
# EACCES: permission denied, open '/__w/_temp/_runner_file_commands/set_output_xxx'
|
||||
# a chmod doesn't work around it so we resort to just ignoring the error...
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Catala examples
|
||||
path: /home/ocaml/artifacts/*
|
||||
|
Loading…
Reference in New Issue
Block a user