+
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,20 @@ jobs:
REACT_APP_FIREBASE_STAGING: '1'
FUTURECODER_LANGUAGE: en
run: ./scripts/build.sh
- name: Saucelabs tunnel
uses: saucelabs/sauce-connect-action@v2
with:
username: ${{ secrets.SAUCE_USERNAME }}
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
tunnelName: github-action-tunnel
region: eu-central
- name: Test
env:
FUTURECODER_LANGUAGE: en
FIREBASE_TOKEN: '1//03I37hFeN4kn3CgYIARAAGAMSNwF-L9IrUvqofZbhOkS8YMtQBhw_bu2TpWYC5MHvnaZDsWPP0KJMypXPyoxogkl8A6p2RxPJQwQ'
SAUCE_TUNNEL: github-action-tunnel
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: ./scripts/ci_test.sh
- name: Upload test artifacts
uses: actions/upload-artifact@v2
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<p align="center">
<img src="homepage/static/logo/bordered2.png" width="300px" height="300px" alt="logo">
<a href="https://github.com/alexmojaki/futurecoder/blob/master/LICENSE.txt"><img src="https://img.shields.io/github/license/alexmojaki/futurecoder?style=flat" alt="MIT license" align="left"></a>
<a href="https://github.com/alexmojaki/futurecoder/actions"><img src="https://github.com/alexmojaki/futurecoder/workflows/CI/badge.svg" alt="Tests status" align="left"></a>
<img src="homepage/static/logo/bordered2.png" width="300px" height="300px" alt="logo">
<a href="https://saucelabs.com"><img src="https://opensource.saucelabs.com/images/opensauce/powered-by-saucelabs-badge-gray.png?sanitize=true" alt="Testing Powered By SauceLabs" align="right"></a>
</p>

<h1 align="center"><code>futurecoder</code></h1>
Expand Down
30 changes: 15 additions & 15 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"lodash": "^4.17.21",
"p-retry": "^5.0.0",
"prop-types": "^15.7.2",
"pyodide": "^0.21.3",
"pyodide-worker-runner": "^1.3.0",
"pyodide": "^0.22.1",
"pyodide-worker-runner": "^1.3.2",
"react": "^17.0.2",
"react-ace": "^10.0.0",
"react-beautiful-dnd": "^13.1.0",
Expand Down
2 changes: 0 additions & 2 deletions scripts/ci_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ set -eux

# Run tests in CI, i.e. GitHub Actions

export DISPLAY=:99
chromedriver --url-base=/wd/hub &
npm install -g firebase-tools
firebase emulators:exec "poetry run pytest tests"
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载