Skip to content

Commit

Permalink
testing file path for build step
Browse files Browse the repository at this point in the history
  • Loading branch information
lucsomers101 committed Jul 17, 2024
1 parent 9ceaa02 commit 3f2877d
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 20 deletions.
38 changes: 21 additions & 17 deletions .github/workflows/Specflow-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: build docker
id: update-image
shell: bash
run: |
cd ./RAP4
docker build -t ampersandtarski/ampersand-rap:dev-latest .
cd ..
cp .example.env .env
docker compose build
docker network create proxy
docker network create rap_db
docker compose up -d
# - name: build docker
# id: update-image
# shell: bash
# run: |
# cd ./RAP4
# docker build -t ampersandtarski/ampersand-rap:dev-latest .
# cd ..
# cp .example.env .env
# docker compose build
# docker network create proxy
# docker network create rap_db
# docker compose up -d

- name: Navigate to test project
id: navigate-to-test-project
Expand All @@ -41,12 +41,19 @@ jobs:
with:
dotnet-version: "6.0.x"

- name: ls -l
shell: bash
run: |
ls -l
- name: BuildDotnetApp
shell: bash
run: |
dotnet build SpecFlowRAP.Specs.csproj -c Release -v minimal -f net6.0
- name: RunSpecFlowTests
shell: bash
continue-on-error: true
run: |
_args=()
_logger_args=()
Expand All @@ -57,10 +64,7 @@ jobs:
[ "MyTestResults.trx" != 'null' ] && _logger_args+=(";LogFileName=MyTestResults.trx")
[ "trx" != 'null' ] && _args+=("-l" "trx$(IFS=; echo "${_logger_args[@]}")")
if ! dotnet test --no-build "${_args[@]}"; then
echo "_EXIT=1" >> $GITHUB_ENV
fi
shell: bash
continue-on-error: true
dotnet test --no-build -c Release -v minimal -f net6.0 -v normal
# cd ../RAP4USER
# docker build -t ampersandtarski/rap4-student-prototype:dev-latest .
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[assembly: System.Reflection.AssemblyCompanyAttribute("SpecFlowRAP.Specs")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+9c917b2ef0787ad460e18b50a75bd4db01ad1ed6")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+9ceaa02e753e5b51148df400a22c3f3ce7f416cd")]
[assembly: System.Reflection.AssemblyProductAttribute("SpecFlowRAP.Specs")]
[assembly: System.Reflection.AssemblyTitleAttribute("SpecFlowRAP.Specs")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5cf7d764c5cbbab44f95d7e27dfb812fc481accd5c654c3d42930459241956ea
b8014ad4f244cab98d497965ac11bfe997af34eddb4d0ee4edc2c884aaa41ecc
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documents":{"D:\\GithubRepos\\RAP\\*":"https://raw.githubusercontent.com/AmpersandTarski/RAP/9c917b2ef0787ad460e18b50a75bd4db01ad1ed6/*"}}
{"documents":{"D:\\GithubRepos\\RAP\\*":"https://raw.githubusercontent.com/AmpersandTarski/RAP/9ceaa02e753e5b51148df400a22c3f3ce7f416cd/*"}}
Binary file not shown.
Binary file not shown.

0 comments on commit 3f2877d

Please sign in to comment.