Skip to content

Commit f794609

Browse files
committed
Store fantom results inside artifacts
1 parent a39b88a commit f794609

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ jobs:
3333
docker run --rm --name rn-env react-native-community/react-native /bin/sh -c "npx envinfo"
3434
- name: Checkout React Native
3535
run: git clone https://github.com/facebook/react-native.git
36+
- name: Create reports directory
37+
run: mkdir -p $(pwd)/fantom-reports
3638
- name: Run Fantom tests
39+
continue-on-error: true
3740
run: |
38-
docker run --rm --ulimit nofile=10240 -v "$(pwd)/scripts/":/scripts -v "$(pwd)/react-native/":/react-native -w /react-native react-native-community/react-native /bin/sh -c "/scripts/test-react-native-fantom.sh"
41+
docker run --rm --ulimit nofile=10240 -v "$(pwd)/scripts/":/scripts -v "$(pwd)/react-native/":/react-native -v "$(pwd)/fantom-reports/":/react-native/private/react-native-fantom/build/reports -w /react-native react-native-community/react-native /bin/sh -c "/scripts/test-react-native-fantom.sh"
42+
- name: Upload Fantom build reports
43+
uses: actions/upload-artifact@v3
44+
if: always()
45+
with:
46+
name: fantom-build-reports
47+
path: fantom-reports/
48+
retention-days: 30

0 commit comments

Comments
 (0)