Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vicancy committed Jun 19, 2024
1 parent f2b96a7 commit eca50da
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests-csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
dotnet-version: [6.x]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test csharp tests
run: dotnet test tests/integration-tests/csharp/csharp.csproj

15 changes: 10 additions & 5 deletions .github/workflows/integration-tests-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,22 @@ jobs:
WEB_PUBSUB_CONNECTION_STRING: ${{ github.event.inputs.web_pubsub_connection_string || secrets.WEB_PUBSUB_CONNECTION_STRING }}
strategy:
matrix:
java-version: [11]
java-version: [17]
steps:
- uses: actions/checkout@v3

- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven

- name: Build and test with Maven
run:
pushd tests/integration-tests/java/integration-tests |
mvn -B verify --file pom.xml |
popd
popd

# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
Expand All @@ -37,7 +37,7 @@ jobs:
cache: 'npm'
- name: Test js tests
run:
pushd tests\integration-tests\js |
pushd tests/integration-tests/js |
npm run test |
popd

16 changes: 7 additions & 9 deletions .github/workflows/integration-tests-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,18 @@ jobs:
WEB_PUBSUB_CONNECTION_STRING: ${{ github.event.inputs.web_pubsub_connection_string || secrets.WEB_PUBSUB_CONNECTION_STRING }}
strategy:
matrix:
python-version: [3.9]
python-version: [3.10]
steps:
- uses: actions/checkout@v3

- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt # If you have any additional requirements
pip install -r requirements.txt
- name: Run tests
run:
pushd tests/integration-tests/python |
Expand Down

0 comments on commit eca50da

Please sign in to comment.