Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
alessio-perugini committed Jun 14, 2024
1 parent 6444974 commit 8a4817a
Showing 1 changed file with 34 additions and 15 deletions.
49 changes: 34 additions & 15 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
matrix:
operating-system:
[
ubuntu-latest,
# ubuntu-latest,
windows-latest,
macos-latest,
# macos-latest,
]

runs-on: ${{ matrix.operating-system }}
Expand All @@ -24,16 +24,35 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: "1.21"

- name: Run unit tests
run: go test -v ./... -coverprofile=coverage_unit.txt

- name: Send unit tests coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage_unit.txt
flags: unit
- name: test P$
run: |
# Create a new file named 'another'
New-Item -Path "C:\another" -ItemType "File"
# fsutil 8dot3name set D: 0
fsutil 8dot3name query C:
fsutil 8dot3name query D:
# Reference the file using the short path
$shortPath = "C:\ANOTHE~1"
type $shortPath
if (Test-Path $shortPath) {
Write-Output "File exists at: $shortPath"
} else {
Write-Output "File not found at: $shortPath"
}
# - name: Install Go
# uses: actions/setup-go@v2
# with:
# go-version: "1.21.10"
#
# - name: Run unit tests
# run: go test -v ./... -coverprofile=coverage_unit.txt
#
# - name: Send unit tests coverage to Codecov
# uses: codecov/codecov-action@v1
# with:
# file: ./coverage_unit.txt
# flags: unit

0 comments on commit 8a4817a

Please sign in to comment.