Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
WStechura committed Nov 28, 2024
1 parent 26fd927 commit 0ebf43c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 13 deletions.
21 changes: 14 additions & 7 deletions .github/actions/update-version/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,26 @@ runs:
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: "All"
shell: bash
run: git branch -a

- name: "LS"
shell: bash
run: ls -lag

- name: "Checkout"
shell: bash
run: |
git checkout master
run: git checkout master

- name: "Add"
shell: bash
run: |
git add galaxy.yml
run: git add galaxy.yml

- name: "Commit"
shell: bash
run: |
git commit -m "Update galaxy.yaml version to ${{ env.LATEST_VERSION }}"
# git push --dry-run origin master
run: git commit -m "Update galaxy.yaml version to ${{ env.LATEST_VERSION }}"

- name: "Push"
shell: bash
run: git push --dry-dun origin master
14 changes: 8 additions & 6 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set environment variables
uses: ./.github/actions/set-environment-variables
- name: Update version
uses: ./.github/actions/update-version
- name: Set up environment
uses: ./.github/actions/setup-build-environment
- name: Build the collection
uses: ./.github/actions/build-collection
- name: Run sanity tests
uses: ./.github/actions/run-sanity-tests
- name: Run component tests
uses: ./.github/actions/run-component-tests
# - name: Build the collection
# uses: ./.github/actions/build-collection
# - name: Run sanity tests
# uses: ./.github/actions/run-sanity-tests
# - name: Run component tests
# uses: ./.github/actions/run-component-tests

0 comments on commit 0ebf43c

Please sign in to comment.