Skip to content

Commit

Permalink
fixing problems
Browse files Browse the repository at this point in the history
  • Loading branch information
grantnelson-wf committed Jun 25, 2024
1 parent 3cccc79 commit 60f2d79
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
14 changes: 4 additions & 10 deletions .github/actions/setup-gopherjs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,11 @@ runs:
if: inputs.fixTemps == 'true'
shell: bash
run: |
echo "SOURCE_MAP_SUPPORT=false" >> $env:GITHUB_ENV
echo "SOURCE_MAP_SUPPORT=false" | Out-File -FilePath $env:GITHUB_ENV
# see https://github.com/actions/runner-images/issues/712#issuecomment-613004302
echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
echo "TMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
echo "TMPDIR=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
export TEMP="%USERPROFILE%\AppData\Local\Temp"
export TMP="%USERPROFILE%\AppData\Local\Temp"
export TMPDIR="%USERPROFILE%\AppData\Local\Temp"
echo ::notice::$TEMP
echo ::notice::$TMP
echo ::notice::$TMPDIR
echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" | Out-File -FilePath $env:GITHUB_ENV
echo "TMP=$env:USERPROFILE\AppData\Local\Temp" | Out-File -FilePath $env:GITHUB_ENV
echo "TMPDIR=$env:USERPROFILE\AppData\Local\Temp" | Out-File -FilePath $env:GITHUB_ENV
- name: Install GopherJS
working-directory: ${{ env.GOPHERJS_PATH }}
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,9 @@ jobs:
# Run all tests except gorepo tests.
run: go test -v -race $(go list ./... | grep -v github.com/gopherjs/gopherjs/tests/gorepo)

todomvc_tests:
name: TodoMVC Tests
todomvc_check:
name: TodoMVC Check
runs-on: ubuntu-latest
env:
TODOMVC_PATH: ${{ github.workspace }}/go/src/github.com/gopherjs/todomvc
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -138,10 +136,7 @@ jobs:
uses: ./.github/actions/setup-gopherjs/
- name: Get TodoMVC repo
working-directory: ${{ env.GOPHERJS_PATH }}
run: |
go get -v github.com/gopherjs/todomvc
ls -l $GOPATH/src/github.com/gopherjs
find ${{ github.workspace }} -type d -name todomvc
run: go get -v github.com/gopherjs/todomvc
- name: Run TodoMVC tests
working-directory: ${{ env.GOPHERJS_PATH }}
run: gopherjs test -v github.com/gopherjs/todomvc/...
Expand Down

0 comments on commit 60f2d79

Please sign in to comment.